lrf402788946 4 years ago
parent
commit
f341eb1607
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/weixin.js

+ 1 - 1
app/service/weixin.js

@@ -89,7 +89,7 @@ class WeixinAuthService extends AxiosService {
     const timestamp = new Date().getTime();
     const signStr = `jsapi_ticket=${jsapi_ticket}&noncestr=${noncestr}&timestamp=${timestamp}&url=${url}`;
     const sign = crypto.createHash('sha1').update(signStr).digest('hex');
-    return { jsapi_ticket, noncestr, timestamp, signStr, sign, appid };
+    return { jsapi_ticket, noncestr, timestamp, sign, sign, appid };
   }