企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
~~~[api] post:/api/warehouse.Goods/add?store\_id=608&cate\_id=3&products\_title=测试商品标题&item\_no=112&cover\_picture&spec\_type=one&price=10.2&product\_value&specs&specs\_value&skus <<< success 示例数据 ~~~ 单规格数据 ~~~ array:8 [ "store_id" => "608" "cate_id" => "3" "products_title" => "单规格商品" "item_no" => "3444" "cover_picture" => "" "spec_type" => "one" "price" => "44444" "product_value" => array:1 [ 0 => array:1 [ "price" => "44444" ] ] ] ~~~ 多规格数据 ~~~ array:2 [ "data" => array:10 [ "store_id" => "608" "cate_id" => "3" "products_title" => "测试机油" "item_no" => "3433" "cover_picture" => "" "spec_type" => "more" "price" => "12" "specs" => array:1 [ 0 => "2" ] "specs_value" => array:1 [ "容量" => array:2 [ 0 => "1L" 1 => "4L" ] ] "skus" => array:2 [ "1L" => array:2 [ "picture" => "" "price" => "12" ] "4L" => array:2 [ "picture" => "" "price" => "24" ] ] ] "product_value" => array:2 [ 0 => array:5 [ "price" => "12" "sku" => "1L" "sku_val" => "3" "image" => "" "stock" => 0 ] 1 => array:5 [ "price" => "24" "sku" => "4L" "sku_val" => "4" "image" => "" "stock" => 0 ] ] ] ~~~ ~~~ <<< error ~~~