def __get_weather(self, body):
    params = self.get_params(body)
    req = requests.get(params.request_url)
    data = json.loads(req.text)
    if (data['status'] == 200):
        wea = data['data']['forecast'][0]
        params.content = ((((((('天气：' + wea['type']) + ' ') + wea['high']) + ',') + wea['low']) + '   ') + wea['notice'])
    else:
        params.content = '错误'
    self.notification(params)
    self.notification_to_zhouyu(params)
def __get_weather(self, body):
    params = self.get_params(body)
    req = requests.get(params.request_url)
    data = json.loads(req.text)
    if (data['status'] == 200):
        wea = data['data']['forecast'][0]
        params.content = ((((((('天气：' + wea['type']) + ' ') + wea['high']) + ',') + wea['low']) + '   ') + wea['notice'])
    else:
        params.content = '错误'
    self.notification(params)
    self.notification_to_zhouyu(params)