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.
21 lines
537 B
21 lines
537 B
package wxh5pay
|
|
|
|
import "recook/internal/domain"
|
|
|
|
const (
|
|
AppID = "wx0a67d8af4a8252b0"
|
|
// APIKey = "de4494be68c27fb306448f46718cbd13"
|
|
APIKey = "83f8932eb742257316e3168ba9e920dk"
|
|
MchID = "1545449631"
|
|
)
|
|
|
|
var (
|
|
PayCallbackUrl = domain.GetName() + "/api/v1/pay/wxh5pay/callback"
|
|
RefundCallbackUrl = domain.GetName() + "/api/v1/pay/wxh5pay/refund/callback"
|
|
)
|
|
|
|
const (
|
|
CreateOrderURL = "https://api.mch.weixin.qq.com/pay/unifiedorder" // 统一下单
|
|
RefundURL = "https://api.mch.weixin.qq.com/secapi/pay/refund" // 退款
|
|
)
|