Selaa lähdekoodia

多加3秒时间

lifanagju_citu 6 kuukautta sitten
vanhempi
commit
2f55f9adc6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/utils/openEncryption.js

+ 1 - 1
src/utils/openEncryption.js

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