|
@@ -26,21 +26,13 @@ public function create(){
|
|
|
if($remark==""){
|
|
|
return error_show(1002,"参数remark不能为空");
|
|
|
}
|
|
|
-
|
|
|
$company_type= isset($this->post['company_type']) && $this->post['company_type']!==""? trim($this->post['company_type']):"";
|
|
|
if($company_type==""){
|
|
|
return error_show(1002,"参数company_type不能为空");
|
|
|
}
|
|
|
$model_id= isset($this->post['model_id']) && $this->post['model_id']!==""? $this->post['model_id']:[];
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- $noteNo= isset($this->post['noteNo']) && $this->post['noteNo'] !==""? $this->post['noteNo']:"";
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ $noteNo= isset($this->post['noteNo']) && $this->post['noteNo'] !==""? $this->post['noteNo']:"";
|
|
|
$bugNo= makeNo("BG");
|
|
|
$apply_id =VerifyTokens($token);
|
|
|
if(empty($apply_id)||$apply_id['code']!=0){
|
|
@@ -70,13 +62,11 @@ public function create(){
|
|
|
|
|
|
$data=[
|
|
|
"model_id"=>!empty($model_id) ? array_pop($model_id):"0",
|
|
|
-
|
|
|
"bugNo"=>$bugNo,
|
|
|
"noteNo"=>$noteNo,
|
|
|
"title"=>$title,
|
|
|
"remark"=>$remark,
|
|
|
"company_type"=>$company_type,
|
|
|
-
|
|
|
"apply_name"=>$ri,
|
|
|
"apply_id"=>$rm,
|
|
|
"level"=>$level,
|