Browse Source

Merge branch 'dev_v4.10.5_wh' of qmx/jy into feature/v4.10.5

王浩 4 tháng trước cách đây
mục cha
commit
57efc1ea3b
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      src/jfw/modules/subscribepay/src/service/vipGift.go

+ 3 - 2
src/jfw/modules/subscribepay/src/service/vipGift.go

@@ -125,8 +125,9 @@ func (t *VipGift) InformInfo() {
 			//没有绑定手机号
 		} else {
 			isBinding = true
-			recipientUserPhone := gconv.String((*data)["recipientUserPhone"])
-			if recipientUserPhone == phone {
+			userId := qutil.ObjToString(t.GetSession("userId"))
+			recipientUserId := gconv.String((*data)["recipientUserId"])
+			if recipientUserId == userId {
 				isSame = true
 			}
 		}