|
|
|
@ -269,7 +269,7 @@ class User extends BaseController |
|
|
|
|
$where[] = array('create_time','between',[date('Y-m-d', strtotime($date[0])),date('Y-m-d', strtotime($date[1]) +86400)]); |
|
|
|
|
} |
|
|
|
|
if($user) $where[] = array('uid','=',$user['uid']); |
|
|
|
|
$where[] = array('status','in',[UserAssetsLogRepository::STATUS_FROZEN, UserAssetsLogRepository::STATUS_SUCCESS, UserAssetsLogRepository::STATUS_USED]); |
|
|
|
|
$where[] = array('status','in',[UserAssetsLogRepository::STATUS_FROZEN, UserAssetsLogRepository::STATUS_SUCCESS, UserAssetsLogRepository::STATUS_USED, UserAssetsLogRepository::STATUS_REFUND]); |
|
|
|
|
|
|
|
|
|
return app('json')->success(app(UserAssetsLogRepository::class)->list(0, $where, $page, $limit)); |
|
|
|
|
} |
|
|
|
|