|
@@ -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
|
|
|
}
|
|
|
}
|