diff --git a/pay/pay_by_own.go b/pay/pay_by_own.go index d5cb497..9f2ded1 100644 --- a/pay/pay_by_own.go +++ b/pay/pay_by_own.go @@ -85,9 +85,9 @@ func AlipayWap(args map[string]string) (string, error) { func AlipayApplet(args map[string]string, isPrd bool) (string, error) { var url string if isPrd == true { - url = md.ZHIOS_PAY_URL_PRD + "/kuDianPay/Pay/aliAppPay" + url = md.ZHIOS_PAY_URL_PRD + "/alipay/Auth/payTradeCreate" } else { - url = md.ZHIOS_PAY_URL_DEV + "/kuDianPay/Pay/aliAppPay" + url = md.ZHIOS_PAY_URL_DEV + "/alipay/Auth/payTradeCreate" } config := map[string]string{ "pay_ali_app_id": args["pay_ali_app_id"],