收藏
回答

官方小说阅读器一直不更新是怎么回事?

novelManager.paymentCompleted、novelManager.setContent都更新了,但是小程序端get_chapter还是返回pay_status为2,我初始化设置的setContent状态是0,消息推送返回的pay_status为2,手动请求https://test-inovel.judianwangluo.com/miniapp_integrate?package_type=1获取到的pay_status也为0,杀除微信重新进入还是会有这个问题,权限推送确实效性,返回内容没毛病,为什么小程序端的get_chapter一直都是pay_status为2呢?返回数据如下:

<xml>

<ErrCode>0</ErrCode>

<ErrMsg />

<ChapterPerms>

<ChapterPerm>

<StartChapterIndex>0</StartChapterIndex>

<EndChapterIndex>4</EndChapterIndex>

<Perm>0</Perm>

</ChapterPerm>

</ChapterPerms>

</xml>


appid: "wx55c1cab4eaf9a489"

appstate: 2

background_index: 1

book_id: "A1Hcgn8eSW4tcL4fA68BM5kXVk"

chapter_id: "A1HcgnJN2K1ta1AFHwe94nSrUS"

chapter_index: 1

complete_status_name: "已完结"

event_id: "get_chapter"

first_category_id: 10001

first_category_name: "男频"

flip_mode: "TURN_PAGE_WAY_SCROLL"

font_index: 2

original_id: "236941"

pay_status: 2

plugin_version: "1.1.29"

scene: "1001"

second_category_id: 10002

second_category_name: "都市"

third_category_id: 10007

third_category_name: "都市异能"

title: "天才团伙"

total_count: 23545

total_count_chapter: 10




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

2 个回答

  • 沙华
    沙华
    01-29

    有调用novelManager.paymentCompleted的

    

    01-29
    有用
    回复 1
    • 沙华
      沙华
      01-30
      可以了,记录一下,回包格式改成json就行了,不能用XML格式,第一集免费,后续付费是微信这边默认的设置,微信在回包中拿不到章节状态的话就会固定返回默认状态值
      01-30
      回复
  • 智能回答 智能回答 本次回答由AI生成
    01-29
    有用
登录 后发表内容