|
@@ -153,9 +153,14 @@
|
|
|
// 如果 invitationCode 存在且不等于特殊值时执行代码
|
|
|
if (this.invitationCode) {
|
|
|
console.log("存在邀请码")
|
|
|
+ // let params = {
|
|
|
+ // userId: this.userId,
|
|
|
+ // targetId: this.invitationCode,
|
|
|
+ // type: 1
|
|
|
+ // };
|
|
|
let params = {
|
|
|
- userId: this.userId,
|
|
|
- targetId: this.invitationCode,
|
|
|
+ userId: this.invitationCode,
|
|
|
+ targetId: this.userId,
|
|
|
type: 1
|
|
|
};
|
|
|
inviteBind(params).then(res => {
|