|
@@ -82,8 +82,8 @@ func AlipayBase(c *gin.Context) { |
|
|
info, _ := db.UserThirdPartyFindByID(svc.MasterDb(c), user.Info.Uid) |
|
|
info, _ := db.UserThirdPartyFindByID(svc.MasterDb(c), user.Info.Uid) |
|
|
var res = md.AlipayPay{} |
|
|
var res = md.AlipayPay{} |
|
|
if info != nil { |
|
|
if info != nil { |
|
|
res.PayAliNewAppId = gjson.Get(info.WechatPayInfo, "pay_ali_new_app_id").String() |
|
|
|
|
|
res.PayAliNewPrivateKey = gjson.Get(info.WechatPayInfo, "pay_ali_new_private_key").String() |
|
|
|
|
|
|
|
|
res.PayAliNewAppId = gjson.Get(info.AlipayPayInfo, "pay_ali_new_app_id").String() |
|
|
|
|
|
res.PayAliNewPrivateKey = gjson.Get(info.AlipayPayInfo, "pay_ali_new_private_key").String() |
|
|
} |
|
|
} |
|
|
e.OutSuc(c, res, nil) |
|
|
e.OutSuc(c, res, nil) |
|
|
return |
|
|
return |
|
|