|
@@ -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 {
|