Ver código fonte

Merge branch 'master' of https://git.citupro.com/zhengnaiwen_citu/menduner-uniapp

Xiao_123 6 meses atrás
pai
commit
e878a22cfe
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      utils/openEncryption.js

+ 1 - 1
utils/openEncryption.js

@@ -11,7 +11,7 @@ export const encryptionFun = (config) => {
   const initSign = {
     appId: 'web_client', // 与后端协商一致使用
     nonce: generateUUID(), // 前端生成唯一参数
-    timestamp: new Date().getTime(),
+    timestamp: new Date().getTime() + 3000, // 多加两秒时间
   }
   // 固定的参数初始化成字符串
   const paramsToStrSort = ['appId', 'nonce', 'timestamp'] // 顺序不能变