多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 示例 ~~~[api] post:/releaseGoods/publishGoods <<< params { "goodPublishRequest":{ "goodsBaseProp": { "goods_serial": "44", "category": "{\"parentId\":\"shoe\",\"parentName\":\"shoes\",\"childId\":\"shoe_man\",\"childName\":\"shoe_man\",\"pfile\":\"shoe\"}", "store_id": "10", "goods_name": "商品1", "goods_fee": "", "goods_main_photo": "[\"storage/M00/00/09/rBIKSVs52HSAOPNxAAK-xOM85BE927.jpg\",\"storage/M00/00/09/rBIKSVs52HWAZfCEAAkVVGMybN8398.jpg\",\"storage/M00/00/09/rBIKSVs52HWAV6UHAAEuUpAxGxU726.jpg\"]", "store_price": "11.00", "goods_price": "22.00", "goods_details": "", "goods_transfee": 1, "goods_brand": "{\"id\":\"Champion\",\"name\":\"Champion\"}", "remarkInfo": "{\"activeProperty\":{\"color_red\":true,\"color_8005639534\":true,\"size_s\":true,\"size_8005639535\":true},\"needPictureItem\":[{\"categoryId\":\"color\",\"categoryName\":\"color\",\"id\":\"red\",\"name\":\"red\",\"goods_desc_photo\":\"storage/M00/00/09/rBIKSVs52LeAKBccAA1rIuRd3Es939.jpg\"},{\"categoryId\":\"color\",\"categoryName\":\"color\",\"id\":\"8005639534\",\"name\":\"yellow\",\"goods_desc_photo\":\"storage/M00/00/09/rBIKSVs52LmAHt7eAAEuUpAxGxU996.jpg\"}],\"autoPropertyMap\":{\"color\":[{\"id\":8005639534,\"name\":\"yellow\",\"parentName\":\"\"},{\"id\":8005652743,\"name\":\"\"}],\"size\":[{\"id\":8005639535,\"name\":\"xxl\",\"parentName\":\"\"},{\"id\":8005662143,\"name\":\"\"}]},\"propertyMap\":{\"color\":{\"items\":{\"red\":\"red\",\"blue\":\"blue\",\"8005639534\":\"yellow\",\"8005652743\":\"\"},\"name\":\"color\"},\"size\":{\"items\":{\"s\":\"s\",\"m\":\"m\",\"l\":\"l\",\"xl\":\"xl\",\"8005639535\":\"xxl\",\"8005662143\":\"\"},\"name\":\"size\"}}}" }, "childGoods": [{ "price": "11.00", "goods_inventory": "11", "seller_define_code": "1", "goods_property": [{ "categoryId": "color", "categoryName": "color", "id": "red", "name": "red" }, { "categoryId": "size", "categoryName": "size", "id": "s", "name": "s" }], "goods_desc_photo": "storage/M00/00/09/rBIKSVs52LeAKBccAA1rIuRd3Es939.jpg" }, { "price": "11.00", "goods_inventory": "12", "seller_define_code": "2", "goods_property": [{ "categoryId": "color", "categoryName": "color", "id": "red", "name": "red" }, { "categoryId": "size", "categoryName": "size", "id": "8005639535", "name": "xxl" }], "goods_desc_photo": "storage/M00/00/09/rBIKSVs52LeAKBccAA1rIuRd3Es939.jpg" }, { "price": "11.00", "goods_inventory": "12", "seller_define_code": "3", "goods_property": [{ "categoryId": "color", "categoryName": "color", "id": "8005639534", "name": "yellow" }, { "categoryId": "size", "categoryName": "size", "id": "s", "name": "s" }], "goods_desc_photo": "storage/M00/00/09/rBIKSVs52LmAHt7eAAEuUpAxGxU996.jpg" }, { "price": "11.00", "goods_inventory": "13", "seller_define_code": "4", "goods_property": [{ "categoryId": "color", "categoryName": "color", "id": "8005639534", "name": "yellow" }, { "categoryId": "size", "categoryName": "size", "id": "8005639535", "name": "xxl" }], "goods_desc_photo": "storage/M00/00/09/rBIKSVs52LmAHt7eAAEuUpAxGxU996.jpg" }] } } <<< <<< success { "retCode": 0, "retMsg": "success", "responseInfo": {} } <<< error { "retCode": !0, "retMsg": "errMsg" } ~~~