收藏
回答

jssdk签名一致仍报签名无效

jssdk签名报错,但用验证工具检测完全一样,如何排查?

后端数据:appId: "wxf2aa653277xxxxxxx"

jsticket: "HoagFKDcsGMVCIY2vOjf9vPp6NB5gVqxxJGb_V224NAd2NAe58lIR-tmZDyTHlLpHheiaZhJwbSAxymNBo5LoQ"

nonceStr: "h1LC2Km0rdAFAh6Z"

signature: "a148bbb731bf0c1297e73d5251819d2e25799218"

str: "jsapi_ticket=HoagFKDcsGMVCIY2vOjf9vPp6NB5gVqxxJGb_V224NAd2NAe58lIR-tmZDyTHlLpHheiaZhJwbSAxymNBo5LoQ&noncestr=h1LC2Km0rdAFAh6Z&timestamp=1644375885&url=http://testmall.shengquanes.com/goods/goodsInfo?goods_id=3449"

timestamp: 1644375885

url: "http://testmall.shengquanes.com/goods/goodsInfo?goods_id=3449"



最后一次编辑于  2022-02-09
回答关注问题邀请回答
收藏

1 个回答

  • 选择性失忆
    选择性失忆
    2022-02-10

    查看网友帖子后,顿悟到是php时区问题,导致时间戳无效。

    2022-02-10
    有用
    回复
登录 后发表内容