def postTrainTicket(self):
    if (self.IMAGE_CONFIG.get('image', None) == None):
        return 'image参数不能为空！'
    trainTicket = requests.post(url=TRAIN_TICKET_URL, headers=self.HEADER, data=self.IMAGE_CONFIG)
    return trainTicket.json()
def postTrainTicket(self):
    if (self.IMAGE_CONFIG.get('image', None) == None):
        return 'image参数不能为空！'
    trainTicket = requests.post(url=TRAIN_TICKET_URL, headers=self.HEADER, data=self.IMAGE_CONFIG)
    return trainTicket.json()