jssdk签名报错,但用验证工具检测完全一样,如何排查?
后端数据:appId: "wxf2aa653277xxxxxxx"
jsticket: "HoagFKDcsGMVCIY2vOjf9vPp6NB5gVqxxJGb_V224NAd2NAe58lIR-tmZDyTHlLpHheiaZhJwbSAxymNBo5LoQ"
nonceStr: "h1LC2Km0rdAFAh6Z"
signature: "a148bbb731bf0c1297e73d5251819d2e25799218"
str: "jsapi_ticket=HoagFKDcsGMVCIY2vOjf9vPp6NB5gVqxxJGb_V224NAd2NAe58lIR-tmZDyTHlLpHheiaZhJwbSAxymNBo5LoQ&noncestr=h1LC2Km0rdAFAh6Z×tamp=1644375885&url=http://testmall.shengquanes.com/goods/goodsInfo?goods_id=3449"
timestamp: 1644375885
url: "http://testmall.shengquanes.com/goods/goodsInfo?goods_id=3449"
查看网友帖子后,顿悟到是php时区问题,导致时间戳无效。