...
|
...
|
@@ -586,7 +586,7 @@ class UserController extends RestBaseController |
|
|
|
|
|
/**
|
|
|
* @title 获取客服电话(新)
|
|
|
* @description 获取发布
|
|
|
* @description 获取客服电话
|
|
|
* @author panhaowen
|
|
|
* @url /home/user/getMobile
|
|
|
* @method POST
|
...
|
...
|
@@ -597,4 +597,19 @@ class UserController extends RestBaseController |
|
|
$data=Db::name('config')->where('id',1)->find()['mobile2'];
|
|
|
$this->success('获取信息成功',$data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @title 获取待提现订单数量(新)
|
|
|
* @description 获取待提现订单数量
|
|
|
* @author panhaowen
|
|
|
* @url /home/user/getWithdraw
|
|
|
* @method POST
|
|
|
* @header name:XX-Token require:1 default: desc:token
|
|
|
*/
|
|
|
public function getWithdraw(){
|
|
|
$userId=$this->getUserId();
|
|
|
$postId=Db::name('post')->where('user_id',$userId)->find()['id'];
|
|
|
$count=Db::name('order')->where(['to_post_status'=>4,'post_id'=>$postId])->count();
|
|
|
$this->success('获取信息成功',$count);
|
|
|
}
|
|
|
} |
...
|
...
|
|