作者 郭盛
1 个管道 的构建 通过 耗费 1 秒

文件下载调试

... ... @@ -1114,11 +1114,7 @@ class User extends Api
public function toporder()
{
$param['user_id'] = $this->uid;
if($param['user_id'] == 12){
$param['money'] = 8000;
}else{
$param['money'] = $this->request->post('money');
}
$param['money'] = $this->request->post('money');
if(empty( $param['money'])){
$this->error(['code'=>2,'msg'=>'缺少必要参数']);
}elseif ( $param['money']<=0){
... ...