|
|
@@ -43,6 +43,9 @@ func (self *PayController) payExchange(oId, payWay, tradPwd, returnUrl, source,
|
|
|
//地址
|
|
|
addressId, _ := self.GetInt64("address_id")
|
|
|
address := address_model.GetUserAddressById(addressId)
|
|
|
+ beego.BeeLogger.Warn("address.wxuserId--%d", address.WxUserId)
|
|
|
+ beego.BeeLogger.Warn("wxUId-%d", wxUId)
|
|
|
+
|
|
|
if address == nil || address.WxUserId != wxUId {
|
|
|
self.ReturnError(403, apps.AddressNotMatch, "", nil)
|
|
|
}
|