qingyan 5 өдөр өмнө
parent
commit
84a2fad1b4

BIN
dump.rdb


BIN
src/api/hy/qr.gif


BIN
src/api/hy/qr_resized.gif


+ 1 - 1
src/api/qm_mf/qm_mf_search_book.js

@@ -9,7 +9,7 @@ const { format } = require('date-fns');
 const CMD = {}
 
 CMD.根据七猫付费ID查询免费书籍 = async function(bookId){
-
+    await tools.tj_qm()
     let client = tools.getOneNewClinet()
     try{
         let response = await client.get(`${config.qimao_mf_config.find_parent_book_host}${bookId}`)

+ 5 - 0
tools.js

@@ -125,6 +125,11 @@ class tools {
         return await this.redis_help.getKeyValue("qi_mao_mf_token")
     }
 
+    async tj_qm (){
+        let num = await this.redis_help.getKeyValue("qi_mao_iap_find_iaa",0)
+        await this.redis_help.getKeyValue("qi_mao_iap_find_iaa",num+1)
+    }
+
     getSupdate(){ //插入素材域名
         return config.isDebug?config.debug_supdate_config:config.release_supdate_config
     }