|
@@ -235,9 +235,11 @@ class Product extends Controller
|
|
|
// }
|
|
// }
|
|
|
// 接收数据
|
|
// 接收数据
|
|
|
$all_data = request()->all();
|
|
$all_data = request()->all();
|
|
|
|
|
+ $product_specs = request('product_specs', '');
|
|
|
$product_brand = request('product_brand', '');
|
|
$product_brand = request('product_brand', '');
|
|
|
$product_keyword = request('product_keyword', '');
|
|
$product_keyword = request('product_keyword', '');
|
|
|
$platform_string = $all_data['platform'];
|
|
$platform_string = $all_data['platform'];
|
|
|
|
|
+ $all_data['product_specs'] = $product_specs;
|
|
|
if(empty($platform_string)) return json_send(['code' => 'error', 'msg' => '平台不能为空']);
|
|
if(empty($platform_string)) return json_send(['code' => 'error', 'msg' => '平台不能为空']);
|
|
|
$all_data['product_brand'] = $product_brand;
|
|
$all_data['product_brand'] = $product_brand;
|
|
|
$all_data['product_keyword'] = $product_keyword;
|
|
$all_data['product_keyword'] = $product_keyword;
|
|
@@ -350,9 +352,11 @@ class Product extends Controller
|
|
|
$id = request('id', 0);
|
|
$id = request('id', 0);
|
|
|
// 接收数据
|
|
// 接收数据
|
|
|
$all_data = request()->all();
|
|
$all_data = request()->all();
|
|
|
|
|
+ $product_specs = request('product_specs', '');
|
|
|
$product_brand = request('product_brand', '');
|
|
$product_brand = request('product_brand', '');
|
|
|
$product_keyword = request('product_keyword', '');
|
|
$product_keyword = request('product_keyword', '');
|
|
|
$platform_string = $all_data['platform'];
|
|
$platform_string = $all_data['platform'];
|
|
|
|
|
+ $all_data['product_specs'] = $product_specs;
|
|
|
if(empty($platform_string)) return json_send(['code' => 'error', 'msg' => '平台不能为空']);
|
|
if(empty($platform_string)) return json_send(['code' => 'error', 'msg' => '平台不能为空']);
|
|
|
$all_data['product_brand'] = $product_brand;
|
|
$all_data['product_brand'] = $product_brand;
|
|
|
$all_data['product_keyword'] = $product_keyword;
|
|
$all_data['product_keyword'] = $product_keyword;
|