wq 4 年之前
父節點
當前提交
0a93574a03
共有 1 個文件被更改,包括 3 次插入0 次删除
  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 {