文档
测试

获取促销活动

GET
http://192.168.0.6:8091/api/shop/ActsPromotion/getDetail?shop_id=256

请求参数

参数名
类型
描述
必填
shop_id
int
示例:256
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:查询成功
必填
data
object
数据字典
必填
detail
object
数据字典
必填
act_id
int
活动ID
必填
shop_id
int
店铺ID
必填
discount_type
int
优惠形式: 1指定金额, 2折扣(0.1~9.9), 3立减
必填
num_limit
int
每单限购份数
必填
start_time
string
活动开始时间,示例:2020-06-16 00:00:00
必填
end_time
string
活动结束时间,示例:2020-06-18 00:00:00
必填
use_range
int
适用人群: 1全部顾客, 2指定顾客
必填
status
int
状态: 1生效, 0失效
必填
delete_time
int
删除时间
必填
c_time
string
创建时间
必填
u_time
string
更新时间
必填
item_list
object
数据字典
必填
1
array
数据列表
必填
id
int
示例:267
必填
name
string
示例:分类一
必填
index
int
示例:267
必填
shop_id
int
示例:256
必填
c_time
string
示例:06-16 13:45
必填
u_time
string
示例:06-16 13:45
必填
is_delete
int
示例:0
必填
delete_time
int
示例:0
必填
is_show
int
示例:1
必填
food_cnt
int
示例:5
必填
old_type_id
int
示例:0
必填
item_list
array
数据列表
必填
id
int
示例:526
必填
shop_id
int
示例:256
必填
name
string
示例:店内外卖
必填
pic
string
示例:http://catering-imgs.guavaamoy.com/FiprPcuQkh-AxaIYWolMShbHBAKp
必填
des
string
示例:
必填
index
int
示例:526
必填
sale_mode
int
示例:3
必填
sale_time_id
int
示例:0
必填
type_id
int
示例:267
必填
box_fee
int
示例:0
必填
c_time
string
示例:06-19 13:57
必填
u_time
string
示例:06-19 13:57
必填
is_delete
int
示例:0
必填
require
int
示例:0
必填
status
int
示例:1
必填
delete_time
int
示例:0
必填
stock
int
示例:-1
必填
sale
int
示例:0
必填
food_id_old
int
示例:0
必填
spec_list
array
数据列表
必填
id
int
示例:1176
必填
food_id
int
示例:526
必填
name
string
示例:默认
必填
store_price
int
示例:1000
必填
take_out_price
int
示例:2000
必填
c_time
string
示例:06-19 13:57
必填
u_time
string
示例:06-19 13:57
必填
is_delete
int
示例:0
必填
inventory
int
示例:-1
必填
delete_time
int
示例:0
必填
sale
int
示例:0
必填
food_id_old
int
示例:0
必填
store_price_readable
int
示例:10
必填
take_out_price_readable
int
示例:20
必填
att_list
array
数据列表
必填
promote_list
array
数据列表
必填
2
array
数据列表
必填
id
int
示例:267
必填
name
string
示例:分类一
必填
index
int
示例:267
必填
shop_id
int
示例:256
必填
c_time
string
示例:06-16 13:45
必填
u_time
string
示例:06-16 13:45
必填
is_delete
int
示例:0
必填
delete_time
int
示例:0
必填
is_show
int
示例:1
必填
food_cnt
int
示例:5
必填
old_type_id
int
示例:0
必填
item_list
array
数据列表
必填
id
int
示例:526
必填
shop_id
int
示例:256
必填
name
string
示例:店内外卖
必填
pic
string
示例:http://catering-imgs.guavaamoy.com/FiprPcuQkh-AxaIYWolMShbHBAKp
必填
des
string
示例:
必填
index
int
示例:526
必填
sale_mode
int
示例:3
必填
sale_time_id
int
示例:0
必填
type_id
int
示例:267
必填
box_fee
int
示例:0
必填
c_time
string
示例:06-19 13:57
必填
u_time
string
示例:06-19 13:57
必填
is_delete
int
示例:0
必填
require
int
示例:0
必填
status
int
示例:1
必填
delete_time
int
示例:0
必填
stock
int
示例:-1
必填
sale
int
示例:0
必填
food_id_old
int
示例:0
必填
spec_list
array
数据列表
必填
id
int
示例:1176
必填
food_id
int
示例:526
必填
name
string
示例:默认
必填
store_price
int
示例:1000
必填
take_out_price
int
示例:2000
必填
c_time
string
示例:06-19 13:57
必填
u_time
string
示例:06-19 13:57
必填
is_delete
int
示例:0
必填
inventory
int
示例:-1
必填
delete_time
int
示例:0
必填
sale
int
示例:0
必填
food_id_old
int
示例:0
必填
store_price_readable
int
示例:10
必填
take_out_price_readable
int
示例:20
必填
att_list
array
数据列表
必填
promote_list
array
数据列表
必填