renyupeng 1 year ago
parent
commit
c1aff0839a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      spider/SpiderPromoterHeaderMgs.py
  2. 1 1
      spider/SpiderPromoterHeaderRocket.py

+ 1 - 1
spider/SpiderPromoterHeaderMgs.py

@@ -96,7 +96,7 @@ class SpiderPromoterHeader:
                         if listItem.__len__() > 0:
                         if listItem.__len__() > 0:
                             for item in listItem:
                             for item in listItem:
                                 try:
                                 try:
-                                    self.conn.insert(item)
+                                    self.conn.MgsInsert(item)
                                 except Exception as e:
                                 except Exception as e:
                                     print('插入错误', item)
                                     print('插入错误', item)
                 except Exception as e:
                 except Exception as e:

+ 1 - 1
spider/SpiderPromoterHeaderRocket.py

@@ -96,7 +96,7 @@ class SpiderPromoterHeader:
                         if listItem.__len__() > 0:
                         if listItem.__len__() > 0:
                             for item in listItem:
                             for item in listItem:
                                 try:
                                 try:
-                                    self.conn.insert(item)
+                                    self.conn.RocketInsert(item)
                                 except Exception as e:
                                 except Exception as e:
                                     print('插入错误', item)
                                     print('插入错误', item)
                 except Exception as e:
                 except Exception as e: