返利:修复返利参数
This commit is contained in:
+1
-1
@@ -262,7 +262,7 @@ export default class User extends BaseModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static async findUserByUid(uid: number) {
|
public static async findUserByUid(uid: number) {
|
||||||
const user: UserType = await UserModel.findOne({ uid }).select('uid userCode tel channelInfo channelType ip').lean({ getters: true });
|
const user: UserType = await UserModel.findOne({ uid }).select('uid userCode tel channelInfo channelType ip channelId').lean({ getters: true });
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user