|
@@ -315,6 +315,7 @@ class UserCenter extends Base
|
|
|
$date_arr = explode('-',$date_str);
|
|
|
$where = [];
|
|
|
$where['user_id'] = $this->user_id;
|
|
|
+ $where['type'] = input('get.type');
|
|
|
if(isset($date_arr[0])) $where['year'] =$date_arr[0];
|
|
|
if(isset($date_arr[1])) $where['month'] =$date_arr[1];
|
|
|
if(isset($date_arr[2])) $where['day'] =$date_arr[2];
|