@@ -64,7 +64,10 @@ class MemberBankService extends BaseService
if ($status > 0) {
$where['a.status'] = $status;
}
-
+ $userId = isset($params['user_id']) ? $params['user_id'] : 0;
+ if ($userId > 0) {
+ $where['a.user_id'] = $userId;
+ }
$list = $this->model->from('member_bank as a')
->where($where)
->select(['a.*'])