(self, uin, pwd, pushmethod, sckey, appToken, wxpusheruid, barkServer, barkKey, countrycode)
| 27 | 对象的构造函数 |
| 28 | ''' |
| 29 | def __init__(self, uin, pwd, pushmethod, sckey, appToken, wxpusheruid, barkServer, barkKey, countrycode): |
| 30 | self.uin = uin |
| 31 | self.pwd = pwd |
| 32 | self.countrycode = countrycode |
| 33 | self.pushmethod = pushmethod |
| 34 | self.sckey = sckey |
| 35 | self.appToken = appToken |
| 36 | self.wxpusheruid = wxpusheruid |
| 37 | self.barkServer = barkServer |
| 38 | if barkServer == "": |
| 39 | self.barkServer = "https://api.day.app" |
| 40 | self.barkKey = barkKey |
| 41 | ''' |
| 42 | 带上用户的cookie去发送数据 |
| 43 | url:完整的URL路径 |
nothing calls this directly
no outgoing calls
no test coverage detected