PHP创建直播间接口报错?

发布于 7 年前作者 taohuang1472 次浏览最后编辑 7 年前来自 ask

parameter startTime or endTime is invalid rid

试了各种格式还是这样,有没有案例?

2 回复
wei33
wei331 楼5 年前

startTime必须要在当前时间15(忘记是15还是10)分钟后。

jun60
jun602 楼5 年前

这是参数

array(14) {

  [“name”]=>

  string(12) “方特”

  [“coverImg”]=>

  string(17) “1597304067369”

  [“startTime”]=>

  int(1597306080)

  [“endTime”]=>

  int(1597316880)

  [“anchorName”]=>

  string(6) “测试”

  [“anchorWechat”]=>

  string(7) “2323232”

  [“shareImg”]=>

  string(16) “159721658687”

  [“feedsImg”]=>

  string(0) “”

  [“type”]=>

  int(0)

  [“screenType”]=>

  int(0)

  [“closeLike”]=>

  int(0)

  [“closeGoods”]=>

  int(0)

  [“closeComment”]=>

  int(0)

  [“closeReplay”]=>

  int(1)

}