You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
573 B
23 lines
573 B
package wxpay
|
|
|
|
import (
|
|
"recook/internal/domain"
|
|
)
|
|
|
|
const (
|
|
AppID = "wx21724a42aebe20cc"
|
|
APIKey = "83f8932eb742257316e3168ba9e920dk"
|
|
MchID = "1545449631"
|
|
)
|
|
|
|
var (
|
|
PayCallbackUrl = domain.GetName() + "/api/v1/pay/wxpay/callback"
|
|
RefundCallbackUrl = domain.GetName() + "/api/v1/pay/wxpay/refund/callback"
|
|
)
|
|
|
|
const (
|
|
CreateOrderURL = "https://api.mch.weixin.qq.com/pay/unifiedorder" // 统一下单
|
|
OrderQueryURL = "https://api.mch.weixin.qq.com/pay/orderquery" // 订单查询
|
|
RefundURL = "https://api.mch.weixin.qq.com/secapi/pay/refund" // 退款
|
|
)
|