爆店

爆店系统接口


添加/编辑卡券

[TOC]

简要描述
  • 添加/编辑卡券
请求URL
  • /index/mine/edit_coupon
请求方式
  • POST
参数
参数名 必选 类型 说明
uid int 用户ID,不传默认取登录的uid
id int 卡券ID<br/>无-添加卡券<br/>有-编辑卡券
p_type int 类型 1-霸屏 2-合伙人,默认1
c_type int 1现金抵扣卷 2折扣卷 3实物奖 4红包 5视频推广 6抽奖
end_time string 过期时间,字符串
num int 店铺id
summary int 简介
restriction int 限制
prize array 奖品数组
total_restriction int 总限制
video array 视频链接数组
title string 标题
type int 1抖音,2视频号,3快手
s_type int 挂载类型 1-poi地址 2-抖音小程序
t_type int 自定义跳转 1-商家主页 2-url网页 3-微信小程序 4-卡券列表
is_video int 1-视频库,2-混剪库
poster string 海报图片链接
is_marketing int 是否开启营销 1-开启 2-关闭
play_count string 播放量
voucher_name string 代金券名称
folderid int 文件夹id
is_selfie int 是否开启自拍模式 1-开启 2-关闭
selfie_duration string 自拍时长
返回示例
    {
      &quot;code&quot;: 0,
      &quot;data:&quot;&quot;,
      &quot;msg&quot;:&quot;添加卡劵成功&quot;
    }
   {
     &quot;code&quot;: 0,
     &quot;data:&quot;&quot;,
     &quot;msg&quot;:&quot;您可发布活动次数不足&quot;
   }
返回参数说明
参数名 类型 说明
code int 成功失败都是 0
msg int 提示信息
备注

页面列表

ITEM_HTML