九牧

九牧


获取商品区域价格

<p>huo</p> <p><strong>简要描述:</strong> </p> <ul> <li>获取商品区域价格</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://127.0.0.1:8080/api/store/app/appCall?jsonParam={"opeType":"getAreaPrice","map":{"cityId":"274","skuNo":"o2o-no1","initSelectSpecUuids":"ddd5b638d0444b0ab4dd03a5384711cf-c4dbb2efd9064a34bc4d44bb11e3a77e-"}}</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">cityId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>城市编号</td> </tr> <tr> <td style="text-align: left;">skuNo</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>商品sku</td> </tr> <tr> <td style="text-align: left;">initSelectSpecUuids</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>属性uuid</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { "areaPriceModel": { "marketPrice": 500, "name": null, "originalPrice": 0, "price": 500, "promotions": [ { "activtyProducts": null, "couponGifts": null, "giveType": "1", "name": "单品赠", "nextRuleModel": null, "nowRuleModel": null, "position": 1, "productGift": null, "promotionGifts": null, "promotionType": "3", "promotionTypeStr": "单品赠", "promotionUuid": null, "ruleList": null, "sendNum": 0, "type": "2" }, { "activtyProducts": null, "couponGifts": null, "giveType": "0", "name": "单品赠优惠券", "nextRuleModel": null, "nowRuleModel": null, "position": 2, "productGift": null, "promotionGifts": null, "promotionType": "4", "promotionTypeStr": "单品赠优惠券", "promotionUuid": null, "ruleList": null, "sendNum": 0, "type": "2" }, { "activtyProducts": null, "couponGifts": null, "giveType": null, "name": "单品打折", "nextRuleModel": null, "nowRuleModel": null, "position": 3, "productGift": null, "promotionGifts": null, "promotionType": "1", "promotionTypeStr": "单品打折", "promotionUuid": null, "ruleList": null, "sendNum": 0, "type": "2" }, { "activtyProducts": null, "couponGifts": null, "giveType": null, "name": "换购", "nextRuleModel": null, "nowRuleModel": null, "position": 4, "productGift": null, "promotionGifts": null, "promotionType": "2", "promotionTypeStr": "单品换购", "promotionUuid": null, "ruleList": null, "sendNum": 0, "type": "2" }, { "activtyProducts": null, "couponGifts": null, "giveType": null, "name": "订单满减", "nextRuleModel": null, "nowRuleModel": null, "position": 5, "productGift": null, "promotionGifts": null, "promotionType": "6", "promotionTypeStr": "订单满减", "promotionUuid": null, "ruleList": null, "sendNum": 0, "type": "2" }, { "activtyProducts": null, "couponGifts": null, "giveType": null, "name": "订单满赠", "nextRuleModel": null, "nowRuleModel": null, "position": 6, "productGift": null, "promotionGifts": null, "promotionType": "5", "promotionTypeStr": "订单满赠", "promotionUuid": null, "ruleList": null, "sendNum": 0, "type": "2" }, { "activtyProducts": null, "couponGifts": null, "giveType": null, "name": "免运费~~", "nextRuleModel": null, "nowRuleModel": null, "position": 7, "productGift": null, "promotionGifts": null, "promotionType": "7", "promotionTypeStr": "订单免运费", "promotionUuid": null, "ruleList": null, "sendNum": 0, "type": "2" } ] }, "attrStock": 0, "message": "成功", "productImage": { "attrValueUuid": "ddd5b638d0444b0ab4dd03a5384711cf-c4dbb2efd9064a34bc4d44bb11e3a77e", "attributeUuid": "[{\"enName\":\"2338a034bb464b759514b1b8dfa56ef1\",\"name\":\"颜色\",\"value\":\"红色\",\"valueUuid\":\"ddd5b638d0444b0ab4dd03a5384711cf\"},{\"enName\":\"062d395fb5e4403288a541dce455d3bc\",\"name\":\"大小\",\"value\":\"20cm\",\"valueUuid\":\"c4dbb2efd9064a34bc4d44bb11e3a77e\"}]", "bigImage": "big_5378151584384335b4fa01add0af6e19old.jpg", "bigImageUrl": "http://192.168.1.16:7500//dev1/0/000/022/0000022935.fid", "centerImage": "center_5378151584384335b4fa01add0af6e19old.jpg", "centerImageUrl": "http://192.168.1.16:7500//dev1/0/000/022/0000022936.fid", "colorName": "", "delFlag": "1", "mapCondition": { }, "opeTime": "2019-04-16 19:31:09", "oper": "", "position": 1, "productUuid": "c5b3b172412241b694dd23fdc249de72", "skuNo": "o2o-no2", "smallImage": "small_5378151584384335b4fa01add0af6e19old.jpg", "smallImageUrl": "http://192.168.1.16:7500//dev1/0/000/022/0000022937.fid", "sortName": "uuid", "sortType": "desc", "uuid": "2ef3c7b42dcc4440ab7ee8ecf662a561" }, "return_code": "0" }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">areaPriceModel</td> <td style="text-align: left;">ProductPriceAndPromotionModel</td> <td>商品价格和促销</td> </tr> <tr> <td style="text-align: left;">marketPrice</td> <td style="text-align: left;">double</td> <td>商城价</td> </tr> <tr> <td style="text-align: left;">price</td> <td style="text-align: left;">double</td> <td>促销价</td> </tr> <tr> <td style="text-align: left;">promotions</td> <td style="text-align: left;">List<PromotionModel></td> <td>促销活动列表</td> </tr> <tr> <td style="text-align: left;">attrStock</td> <td style="text-align: left;">int</td> <td>商品库存</td> </tr> <tr> <td style="text-align: left;">productImage</td> <td style="text-align: left;">ProductColorImageModel</td> <td>商品图片信息</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML