order('id', 'desc') ->limit($this->limitOffset, $this->limitLength) // ->where($this->searchWhere) ->where(['user_id'=>$this->userId]) ->select() ->toArray(); return $lists; } /** * @notes 提现申请记录数 * @return int * @author Tab * @date 2021/8/6 18:54 */ public function count(): int { $count = WithdrawApply:: where(['user_id'=>$this->userId]) // ->where($this->searchWhere) ->count(); return $count; } }