添加2001 b_N上传方法

This commit is contained in:
pengtao 2019-10-23 15:01:14 +08:00
parent f30b8197fe
commit 502af79e85
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import pdb import pdb
from ops.mp_interface import MpInterface from ops.mpsetting import Mpdata
class ProduceSSCsv: class ProduceSSCsv:
@ -19,7 +19,7 @@ class ProduceSSCsv:
def run(self): def run(self):
mi = MpInterface() mi = Mpdata()
for gameid in self.gameid_list: for gameid in self.gameid_list:
data = mi.get_co_list(gameid, self.channelid) data = mi.get_co_list(gameid, self.channelid)

View File

@ -2,7 +2,7 @@
import requests import requests
class MpInterface: class Mpdata:
def __init__(self): def __init__(self):
self.base_url = "https://mp.kingsome.cn/api/open/cfg/all?" self.base_url = "https://mp.kingsome.cn/api/open/cfg/all?"