DYH云

DYH开放接口


商品上下架socket

简要描述
  • 商品上下架socket
请求URL
  • 编辑/api/contest/goods/edit/:id POST 传contestId 和 state
**socket**
{
    "type" : "contest/updateGoodsState",
    "data" : [
      ["contestGoodsId"] => string(3) "103"
      ["name"] => string(36) "富安娜牌的新品床上四件套"
      ["livePlatform"] => string(1) "1"
      ["anchorType"] => string(1) "1"
      ["price"] => string(7) "3000.00"
      ["score"] => string(1) "1"
      ["image"] => string(92) "https://vvod.obs.cn-north-4.myhuaweicloud.com/202112/06/f6b66fcbe6c90c45ca142c5995038f51.jpg"
      ["detail"] => string(10) "<p>111</p>"
      ["step"] => string(18) "goodsAnchorSelectC"
      ["repurchase"] => string(4) "0.00",
      ["state"] => string(4) "1",   #0下架1上架
    ]
}
备注

页面列表

ITEM_HTML