统计条件
This commit is contained in:
@@ -267,7 +267,7 @@ class CustomerController
|
||||
}
|
||||
$userId = $request->user['id'];
|
||||
$id = Util::getParam($request, 'id');
|
||||
$where = ['user_id', '=', $userId];
|
||||
$where[] = ['user_id', '=', $userId];
|
||||
$where[] = ['created_at', '>', strtotime($created.'-01')];
|
||||
$customer = Customer::where($where)->count();
|
||||
$whereVisit = $where;
|
||||
|
||||
Reference in New Issue
Block a user