收藏
回答

短剧播放器问题?

AppID
wx8fe8a8ed30593822

setCanPlaySerialList 设置当前可播放剧集 freeList设置freeList: [{start_serial_no: 1,end_serial_no: 10}],

为啥免费剧集样式不生效!设置之后,每次进来都是1-10集没有锁的样式吗

图1. 为打开免费剧集第1集

图2 为打开收费剧集


回答关注问题邀请回答
收藏

1 个回答

  • 小程序短剧社区运营-Carina
    小程序短剧社区运营-Carina
    08-20

    您好,freeList 只用来更新目录 ui,不作为实际解锁。所有和实际观看剧集解锁相关的均需要走加密数据来处理。加密数据可播放的剧集需要包含免费的。

    08-20
    有用
    回复 13
    • Gikx-612
      Gikx-612
      08-20
      我们后台加密数据包含有免费章节,我现在打开付费的章节,下边这个样式就是正常的如图2,选中免费章节,再次进来,这个样式都锁上了,如图1
      08-20
      回复
    • 小程序短剧社区运营-Carina
      小程序短剧社区运营-Carina
      08-20回复Gikx-612
      是否调 isCanPlay 时传的有问题呢?可以把传的加密包原始内容都提供一下
      08-20
      回复
    • Gikx-612
      Gikx-612
      08-20
      这就是后台原始加密的数据
      08-20
      回复
    • Gikx-612
      Gikx-612
      08-20回复小程序短剧社区运营-Carina
      {"openid":"oM3kF7cMMjWuEryhHo5Yn_TZ_zw0","src_appid":"wx8fe8a8ed30593822","drama_id":"100740","serial_list":[{"start_serial_no":1,"end_serial_no":10,"status":1},{"start_serial_no":11,"end_serial_no":11,"status":1},{"start_serial_no":12,"end_serial_no":12,"status":1},{"start_serial_no":13,"end_serial_no":13,"status":1},{"start_serial_no":14,"end_serial_no":14,"status":1},{"start_serial_no":15,"end_serial_no":15,"status":1},{"start_serial_no":16,"end_serial_no":16,"status":1},{"start_serial_no":17,"end_serial_no":17,"status":1},{"start_serial_no":18,"end_serial_no":18,"status":1},{"start_serial_no":19,"end_serial_no":19,"status":1},{"start_serial_no":20,"end_serial_no":20,"status":1},{"start_serial_no":21,"end_serial_no":21,"status":1},{"start_serial_no":22,"end_serial_no":22,"status":1}],"data_expire_at":1724139438}
      08-20
      回复
    • Gikx-612
      Gikx-612
      08-21回复小程序短剧社区运营-Carina
      你好 我这个能看出问题吗
      08-21
      回复
    查看更多(8)
登录 后发表内容
问题标签