DevYK 2 anos atrás
pai
commit
2076f8be79
2 arquivos alterados com 4 adições e 3 exclusões
  1. 2 2
      model/server_data_statistics.js
  2. 2 1
      routes/sdk.js

+ 2 - 2
model/server_data_statistics.js

@@ -82,8 +82,8 @@ function getBscEnv() {
     switch (process.env.NODE_ENV) {
         case 'dev':
         case 'test':
-            // bsc_env = 'bsc_testnet'
-            bsc_env = 'bsc_mainnet'
+            bsc_env = 'bsc_testnet'
+            // bsc_env = 'bsc_mainnet'
             break
         case 'prd':
             bsc_env = 'bsc_mainnet'

+ 2 - 1
routes/sdk.js

@@ -833,7 +833,8 @@ router.post('/getWithdrawStatus', getWithdrawStatus);
 //获取所有地址的所要消耗的最低提取费
 router.post('/getAllTokenWithdrawInfoLists', getAllTokenWithdrawInfoLists)
 router.get('/report2FeishuTable', async (ctx) => {
-    ctx.body = await stat.report2FeishuTable()
+    stat.report2FeishuTable()
+    ctx.body = 'ok'
 })
 
 // 定时任务 提币+归集