瀏覽代碼

feat:改为https请求加域名请求

Zhenghanjv 7 月之前
父節點
當前提交
113904960d
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 1
      js/api.js
  2. 1 1
      pages/scan/scan.wxml

+ 2 - 1
js/api.js

@@ -3,7 +3,8 @@ const SM4Exten = require('../js/SM4Exten');
 const miniprogramsm4 = require("../miniprogram_npm/miniprogram-sm-crypto/index").sm4;
 const secretId = "D2BCF8DE-AA24-4BF6-9C34-C8DD325E412B"; //小程序应用ID
 const Secret = "6C680A47B87740138DFB299FC69A64E1"; //小程序应用密钥
-const api_root = 'http://47.97.120.160:5007/'
+const api_root = 'https://www.hsfuel.com/'
+// const api_root = 'http://47.97.120.160:5007/'
 // const api_root = 'http://172.31.2.202:5006/'
 // const api_root = 'http://192.168.0.202:5006/'
 const CurrentBuId = '12345678-9abc-def0-1234-56789abcdef0';

+ 1 - 1
pages/scan/scan.wxml

@@ -49,7 +49,7 @@
 
     </view>
 
-    <text class="version">V2025.02.07</text>
+    <text class="version">V2025.02.09</text>
   </view>