123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- // 创建活动
- POST http://127.0.0.1:8000/admin/activity?_token=f5d8d788f5bffba8fa544aa711b147e4
- Content-Type: application/json
- {
- "id": 15,
- "name": "devName",
- "StartTime": "2025-10-11 00:00:00",
- "EndTime": "2025-10-12 00:00:00",
- "LotteryStartTime": "00:00:00",
- "LotteryEndTime": "00:00:00",
- "Cost": 0,
- "DailyNum": 0,
- "DeviceNum": 0,
- "IpNum": 0,
- "Pic": {
- "pc": "https://www.jianyu360.cn/shareFile/file/2024/04/29/202404291729480041o49DOzu.png",
- "app": "https://www.jianyu360.cn/shareFile/file/2024/04/29/20240429173053004I8CZyhA3.png"
- },
- "Rule": [
- {
- "text": "this is a rule "
- }
- ],
- "ShareCopy": {
- "PC": {
- "title": "test pc title",
- "subtitle": "test pc subtitle",
- "pic": "https://jybx3-webtest.jydev.jianyu360.com/images/ddshare.png",
- "href": "/swordfish/frontPage/activity/free/202402?id=Qw==&share=1&m=5"
- },
- "APP": {
- "title": "test app title",
- "subtitle": "test app subtitle",
- "pic": "https://jybx3-webtest.jydev.jianyu360.com/images/ddshare.png",
- "href": "/jyapp/frontPage/activity/free/202402?id=Qw==&share=1&m=5"
- },
- "H5": {
- "title": "test h5 title",
- "subtitle": "test h5 subtitle",
- "pic": "https://jybx3-webtest.jydev.jianyu360.com/images/ddshare.png",
- "href": "/jyapp/frontPage/activity/free/202402?id=Qw==&share=1&m=5"
- },
- "WX": {
- "title": "test wx title",
- "subtitle": "test wx subtitle",
- "pic": "https://jybx3-webtest.jydev.jianyu360.com/images/ddshare.png",
- "href": "/weixin/frontPage/activity/free/202402?id=Qw==&share=1&m=5"
- }
- },
- "State": 0,
- "Mold": 1,
- "OrderType": ""
- }
- ### 活动列表
- GET http://127.0.0.1:8000/admin/activity?_token=f5d8d788f5bffba8fa544aa711b147e4
- Content-Type: application/json
- {
- "limit": 1
- }
- ### 更新活动
- PUT http://127.0.0.1:8000/activity
- Content-Type: application/json
- {
- "id": 13,
- "EndTime": "2025-10-12 00:00:00"
- }
- ### 配置项
- GET http://127.0.0.1:8000/admin/activity-config
- Content-Type: application/json
- ### 设置活动奖品
- POST http://127.0.0.1:8000/admin/activity?_token=f5d8d788f5bffba8fa544aa711b147e4
- Content-Type: application/json
- {
- "ActiveId": 15,
- "LpiList":
- }
- ### 修改奖品
- ### 查询活动奖品
- ### 删除活动奖品
- ### 兑换码导入
- ### 兑换码数量统计
- ### 兑换码更新
- ### 基础奖品信息列表
- ### 基础奖品信息增加
- ### 基础奖品信息修改
- ### 产品赠送规则列表
- ### 产品赠送规则新增
- ### 产品赠送规则修改
- ### 产品赠送规则删除
|