三方得益Api

三方得益Api


6.2、根据商品主键id获取商品详情

<h5>简要描述</h5> <ul> <li>根据商品主键id获取商品详情</li> </ul> <h5>请求URL</h5> <ul> <li><code>api/getGood</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <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;">good_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>商品主键id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> {     "code": 200,     "data": {         "id": 1,         "tag": "store",         "tag_id": 3,         "banner_imgs": "1",         "goods_name": "春茶上市",         "buy_point": "",         "type": 0,         "industry_id": null,         "category_id": 0,         "store_category_id": 0,         "invent_calcul_method": 0,         "thum_img": "",         "is_spec": null,         "market_price": "0.00",         "price": "0.00",         "vip_price": "0.00",         "cost_price": "0.00",         "delivery_id": 0,         "stock": 0,         "sales": 0,         "collects": 0,         "star": 5,         "evaluates": 0,         "keywords": "",         "description": "",         "content": "春茶上市",         "is_hot": 0,         "is_recommend": 0,         "is_new": 0,         "state": 1,         "sort": 0,         "over_time": null,         "is_video": 0,         "video_url": null,         "good_imgs": [             {                 "type": "image",                 "do_url": "http://utopia-ww.com/resources/20220402/20220402120412.jpg"             },             {                 "type": "image",                 "do_url": "http://utopia-ww.com/resources/20220402/20220402152508.jpg"             },             {                 "type": "image",                 "do_url": "http://utopia-ww.com/resources/20220402/20220402153402.jpg"             }         ]     },     "errMesg": "成功",     "totalCount": 0 }</code></pre>

页面列表

ITEM_HTML