DYH云

DYH开放接口


特效弹出时间

[TOC]

简要描述
  • 特效弹出时间
请求URL

-POST {{BASE_URL}}/api/contest/goods.goods/editAlertTime/id/1000 (商品上下架表的id)

请求方式
  • POST
参数
参数名 必选 类型 说明
alertTimes string 类型 多个时间,隔开
返回示例
  {
    "code": 40000,
    "msg": "参数不能为空",
    "time": "2022-10-20 10:38:40"
}
{
    "code": 20000,
    "msg": "success",
    "time": "2022-10-20 10:50:10",
    "data": []
}
socket:
{
    "code": 20000,
    "msg": "success",
    "time": "2022-10-25 10:34:41",
    "data": {
        "type": "contest/editAlertTime",
        "data": {
            "id": 1000,
            "step": "webLiveFiveStep",
            "contestGoodsId": 292,
            "contestId": 5486,
            "contestGradesId": 52725,
            "part": 1,
            "tag": 1,
            "price": "1.00",
            "stock": 50,
            "platformId": 38098,
            "shelfTime": "2022-10-22 12:13:29",
            "offTime": "2022-10-22 12:13:28",
            "addTime": "2022-10-22 12:11:54",
            "continueShelfTime": "42",
            "continueOffTime": "41",
            "sort": 1000,
            "imageAnswer": "",
            "nameAnswer": "",
            "alertTimes": "1,2,1,2,1,2,1,2",
            "status": 1
        },
        "goods": {
            "contestGoodsId": 292,
            "name": "男士手链",
            "livePlatform": "1",
            "anchorType": 1,
            "price": "1.00",
            "platformId": 2927,
            "score": 1,
            "image": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202204/11/7b89f4997fc696bc74730ba468c97d11.jpg",
            "detail": "",
            "tag": 3,
            "nameOption": null,
            "nameAnswer": "",
            "imageOption": null,
            "imageAnswer": "",
            "status": 1,
            "addTime": "2022-03-22 12:21:51",
            "updateTime": "2022-04-11 14:50:20",
            "stock": 500,
            "belongs": 1,
            "step": "webLiveFiveStep",
            "strengthMerchant": "",
            "place": "",
            "repurchase": "0.00",
            "state": "1"
        }
    }
}
返回参数说明
参数名 类型 说明
groupid int 用户组id,1:超级管理员;2:普通用户
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML