💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
1.获取限时折扣列表 ~~~[api] get:/index.php?ctl=Api_Promotion_DiscountCtl&met=getDiscountGoodsList&typ=json string:discount_name#活动名称 string:shop_name#店铺名称 int:discount_goods_state#活动状态,1-正常/2-结束/3-管理员关闭' int:page#分页 <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 1, "totalsize": "1", "records": "1", "items": [{ "discount_goods_id": "289", "discount_id": "207", "discount_name": "蓝天白云晴空万里", "discount_title": "", "discount_explain": "", "goods_id": "2417", "common_id": "2342", "shop_id": "207", "shop_name": "呼呼呼", "goods_spec_str": "红", "goods_name": "海尔滚筒洗衣机", "goods_price": "2888.00", "discount_price": "1500.00", "goods_image": "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/d3aabd05be45670d48e2685d1e1f5992\/11092\/207\/image\/20180506\/1525577413749879.png", "goods_start_time": "2018-07-20 15:00:00", "goods_end_time": "2018-07-31 14:08:00", "goods_lower_limit": "1", "discount_goods_state": 2, "discount_goods_recommend": "0", "id": "289", "discount_percent": "5.2" }] } } <<< error ~~~ 2.获取限时折扣列表 ~~~[api] get:/index.php?ctl=Goods_GoodsCtl&met=getDiscountGoodsList&typ=json string:discount_name#活动名称 string:shop_name#店铺名称 int:discount_goods_state#活动状态,1-正常/2-结束/3-管理员关闭' int:page#分页 <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 1, "totalsize": "1", "records": "1", "items": [{ "discount_goods_id": "289", "discount_id": "207", "discount_name": "蓝天白云晴空万里", "discount_title": "", "discount_explain": "", "goods_id": "2417", "common_id": "2342", "shop_id": "207", "shop_name": "呼呼呼", "goods_spec_str": "红", "goods_name": "海尔滚筒洗衣机", "goods_price": "2888.00", "discount_price": "1500.00", "goods_image": "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/d3aabd05be45670d48e2685d1e1f5992\/11092\/207\/image\/20180506\/1525577413749879.png", "goods_start_time": "2018-07-20 15:00:00", "goods_end_time": "2018-07-31 14:08:00", "goods_lower_limit": "1", "discount_goods_state": 2, "discount_goods_recommend": "0", "id": "289", "discount_percent": "5.2" }] } } <<< error ~~~