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

文件下载调试

@@ -1156,7 +1156,7 @@ class User extends Api @@ -1156,7 +1156,7 @@ class User extends Api
1156 $param['total'] = $this->request->post('total'); 1156 $param['total'] = $this->request->post('total');
1157 if(empty( $param['total'])){ 1157 if(empty( $param['total'])){
1158 $this->error(['code'=>2,'msg'=>'缺少必要参数']); 1158 $this->error(['code'=>2,'msg'=>'缺少必要参数']);
1159 - }elseif ( $param['total']<=8000){ 1159 + }elseif ($param['total']<8000){
1160 $this->error(['code'=>3,'msg'=>'开通会员至少需要8000元哦']); 1160 $this->error(['code'=>3,'msg'=>'开通会员至少需要8000元哦']);
1161 }else{ 1161 }else{
1162 $param['createtime'] = time(); 1162 $param['createtime'] = time();