修改小程序我的统计条件
This commit is contained in:
@@ -326,7 +326,9 @@ class User extends Wxapp
|
||||
$customer_op_list = [];
|
||||
} else {
|
||||
$where = ['admin_id' => 0, 'biz_id' => $biz_id, 'status>=' => 0];
|
||||
$biz_type == Biz_model::BIZ_TYPE_4s && $where['un_lock'] = 1;
|
||||
if (in_array($biz_type, [Biz_model::BIZ_TYPE_4s, Biz_model::BIZ_TYPE_SPACE])) {
|
||||
$where['un_lock'] = 1;
|
||||
}
|
||||
$unuse_count = $this->customers_model->count($where);
|
||||
$where = ['biz_id' => $biz_id, 'cs_biz_id<>' => -1, 'if_defeat' => 1, 'status>' => -1];
|
||||
$biz_type == Biz_model::BIZ_TYPE_4s && $where['un_lock'] = 1;
|
||||
|
||||
Reference in New Issue
Block a user