|
@@ -27,10 +27,10 @@ class Keepbrand extends BaseController
|
|
|
if($brand_id==""){
|
|
|
return error_show(1003,"参数brand_id不能为空");
|
|
|
}
|
|
|
- $is_book = isset($this->post['is_book']) && $this->post['is_book'] !=="" ? trim($this->post['is_book']):"";
|
|
|
- if($is_book==""){
|
|
|
- return error_show(1003,"参数is_book不能为空");
|
|
|
- }
|
|
|
+// $is_book = isset($this->post['is_book']) && $this->post['is_book'] !=="" ? trim($this->post['is_book']):"";
|
|
|
+// if($is_book==""){
|
|
|
+// return error_show(1003,"参数is_book不能为空");
|
|
|
+// }
|
|
|
$token = isset($this->post['token'])&& $this->post['token']!='' ? trim($this->post['token']):"";
|
|
|
if($token==''){
|
|
|
return error_show(1005,"参数token不能为空");
|
|
@@ -47,7 +47,7 @@ class Keepbrand extends BaseController
|
|
|
$data=[
|
|
|
"brand_book"=>$brand_book,
|
|
|
"gyscode"=>$gyscode,
|
|
|
- "is_book"=>$is_book,
|
|
|
+ // "is_book"=>$is_book,
|
|
|
"brand_id"=>$brand_id,
|
|
|
"createrid"=>$createrid,
|
|
|
"creater"=>$creater,
|
|
@@ -181,10 +181,10 @@ class Keepbrand extends BaseController
|
|
|
if($brand_id==""){
|
|
|
return error_show(1002,"参数brand_id不能为空");
|
|
|
}
|
|
|
- $is_book = isset($this->post['is_book']) && $this->post['is_book'] !== "" ? intval($this->post['is_book']):"";
|
|
|
- if($is_book==""){
|
|
|
- return error_show(1002,"参数is_book不能为空");
|
|
|
- }
|
|
|
+// $is_book = isset($this->post['is_book']) && $this->post['is_book'] !== "" ? intval($this->post['is_book']):"";
|
|
|
+// if($is_book==""){
|
|
|
+// return error_show(1002,"参数is_book不能为空");
|
|
|
+// }
|
|
|
$long = isset($this->post['long']) && $this->post['long'] !=="" ? intval($this->post['long']):"0";
|
|
|
$status = isset($this->post['status']) && $this->post['status'] !=="" ? intval($this->post['status']) :"0";
|
|
|
if($status==""){
|
|
@@ -194,7 +194,7 @@ class Keepbrand extends BaseController
|
|
|
"id"=>$id,
|
|
|
"brand_book"=>$brand_book,
|
|
|
"gyscode"=>$gyscode,
|
|
|
- "is_book"=>$is_book,
|
|
|
+ // "is_book"=>$is_book,
|
|
|
"brand_id"=>$brand_id,
|
|
|
"long"=>$long,
|
|
|
"is_del"=>0,
|