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

+ 1 - 2
model/moralis_sdk.js

@@ -266,12 +266,11 @@ async function getAccountBalances(options) {
             }
             break
         } catch (error) {
-            logger.error('getBalances error:', error.toString(), JSON.stringify(balance_opts), JSON.stringify(options))
             if (tryCount == 1) {
                 try {
                     result = await getBalances(balance_opts, options.type, 0)
                     if (result != null) {
-                        logger.error('sync-node-getBalances success', JSON.stringify(balance_opts), options.type)
+                        logger.info('sync-node-getBalances success', JSON.stringify(balance_opts), options.type)
                         break
                     } else {
                         logger.error('sync-node-getBalances error', JSON.stringify(balance_opts), options.type)

+ 2 - 2
routes/sdk.js

@@ -882,9 +882,9 @@ router.get('/report2FeishuTable', async (ctx) => {
 withdraw_task();
 collect_conis_task();
 // //czz 504 检查
-// check_czz_withdraw_task();
+check_czz_withdraw_task();
 // bsc 监控
-// bsc_log_monitoring()
+bsc_log_monitoring()
 
 if (process.env.NODE_ENV == 'dev' || process.env.NODE_ENV == 'test') {
     /*** test */