|
@@ -212,7 +212,13 @@ class SysUserController extends Controller {
|
|
|
case '2':// 已认证 已绑定
|
|
|
ctx.query.$and = [
|
|
|
{ file: { $exists: true, $ne: '' } },
|
|
|
- { openId: { $exists: true, $ne: '' } },
|
|
|
+ {
|
|
|
+ $or : [
|
|
|
+ { openId: { $exists: true, $ne: '' } },
|
|
|
+ { appletsId: { $exists: true, $ne: '' } },
|
|
|
+ ]
|
|
|
+ }
|
|
|
+
|
|
|
];
|
|
|
break;
|
|
|
default:
|