post('pageSize', 15); $type = request()->post('type', 1); $list = MemberWalletService::make()->getOptionList($this->userId, $type, $pageSize); return message(1010, true, $list); } /** * 提币 * @return array */ public function withdraw(CoinValidator $validate) { $params = request()->post(); $params = $validate->check($params,'withdraw'); if(!is_array($params)){ return message($params, false,[]); } if(!CoinLogService::make()->withdraw($this->userInfo['user_id'], $params)){ return message(CoinLogService::make()->getError(), false); }else{ return message(CoinLogService::make()->getError(), true); } } public function add() { } public function del() { } }