// 数字签名校验 $signature = $_GET[‘signature’]; $signature2 = sha1($_GET[‘rawData’].$session_key); VAR_dump($_GET[‘rawData’].$session_key);exit; if($signature != $signature2){ echo “数字签名失败”; die; }
"string(300) "{\“nickName\”:\“A潍坊建站\”,\“gender\”:1,\“language\”:\“zh_CN\”,\“city\”:\“Zibo\”,\“province\”:\“Shandong\”,\“country\”:\“China\”,\“avatarUrl\”:\“https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIHG0uDdQ0yJVHpeEOd5j6tKjMo50jEcM6HE35NBwkql797S4T9mzI0bUnVXILBM9AQMYBn6fSGMw/132\"}jVRo+dsoJjTIMIe79Ff2Gw==" ”
以上是小程序需要sha1加密的字段是哪里出现问题了吗?