文档
测试

03获取用户提现列表

POST
https://www.likefitone.com/chicken/public/index.php/index/index/getUserPrice

接口描述

获取用户提现列表

请求参数

参数名
类型
描述
必填
uid
int
用户id
必填

说明 / 示例

```php /** * [getUserPrice 获取用户提现列表] * @return [uid] [用户id] */ public function getUserPrice(){ $param = (new CheckParam())->CheckParam(['uid'],'get'); $UserModel = model('user'); $WithdrawModel = model('Withdraw'); $userID = $param['uid']; $Price = $UserModel->where(['id'=>$userID])->value('price'); $WithdrawalRecord = $WithdrawModel->where(['user_id'=>$userID])->select(); $data['price'] = $Price; $data['Withdraw_record'] = $Withdraw; $this->success('数据请求成功!','',$data); 返回数据库字段 - status提现状态 0 审核中 1 提现成功 2 提现失败 - 提现成功 - 1 提现失败 +1 - type 1 微信 2 支付宝 ``` ## 提现页面 post 请求 接收参数 uid ,money,type - 用户id - 提现金额 - type 1 微信 2 支付宝