|
@@ -139,6 +139,7 @@ class UserService extends CrudService {
|
|
// 通过openid查询用户信息
|
|
// 通过openid查询用户信息
|
|
async findByAppOpenid(appopenid) {
|
|
async findByAppOpenid(appopenid) {
|
|
// 通过openid查询用户信息
|
|
// 通过openid查询用户信息
|
|
|
|
+ console.warn('in function:findByAppOpenid');
|
|
const user = await this.model.findOne({ appopenid });
|
|
const user = await this.model.findOne({ appopenid });
|
|
return user;
|
|
return user;
|
|
}
|
|
}
|