返利:修复返利参数

This commit is contained in:
luying
2022-09-14 13:47:14 +08:00
parent d6a3e64b79
commit 4c1fefa4e9
+1 -1
View File
@@ -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;
} }