|
|
@@ -106,7 +106,7 @@ func RequestEpay(c *gin.Context) {
|
|
|
payType = "wxpay"
|
|
|
}
|
|
|
callBackAddress := service.GetCallbackAddress()
|
|
|
- returnUrl, _ := url.Parse(setting.ServerAddress + "/log")
|
|
|
+ returnUrl, _ := url.Parse(setting.ServerAddress + "/console/log")
|
|
|
notifyUrl, _ := url.Parse(callBackAddress + "/api/user/epay/notify")
|
|
|
tradeNo := fmt.Sprintf("%s%d", common.GetRandomString(6), time.Now().Unix())
|
|
|
tradeNo = fmt.Sprintf("USR%dNO%s", id, tradeNo)
|