Kaynağa Gözat

重新识别ethLpList

skyfffire 3 yıl önce
ebeveyn
işleme
e4e8d1f8b1
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5 1
      scripts/lp/lpMaintenance.ts

+ 5 - 1
scripts/lp/lpMaintenance.ts

@@ -220,8 +220,12 @@ export class LpMaintenance {
         const normalLpPullRst = await History.findByBlock('normalLp')
         if (!normalLpPullRst.state) continue
         const normalLpList = normalLpPullRst.data
+        const ethLpPullRst = await History.findByBlock('ethLp')
+        if (!ethLpPullRst.state) continue
+        const ethLpList = ethLpPullRst.data
+        // const ethLpList = []
 
-        const allTypeLpList: any = topLpList.concat(lpList).concat(normalLpList)
+        const allTypeLpList: any = topLpList.concat(lpList).concat(normalLpList).concat(ethLpList)
         const lpAddressList: any = this.generateAddressListByLpList(allTypeLpList)
         // lp按sum分类
         this.putAllLpGroupBySum(allTypeLpList)