...
|
...
|
@@ -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){
|
...
|
...
|
|