wq 4 years ago
parent
commit
0a93574a03
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/service/otheruser.js

+ 3 - 0
app/service/otheruser.js

@@ -122,6 +122,9 @@ class OtheruserService extends CrudService {
     } else if (type === '1') {
       // 取得金融机构信息
       const institution = await this.imodel.findOne({ uid: _userid });
+      // let institution;
+      // const finstitution = await this.imodel.aggregate([{ $unwind : "$uid" },{$match:{"uid":_userid}}]);
+      // institution=finstitution[0];
       if (institution) {
         res = { userid: institution.id, name, type, uid: _userid, characterid };
       } else {