def save_token():
	account = request.json['app_account']
	appid = request.json['appid']
	market = request.json['market']
	token = request.json['token']
	card = request.json['card']
	card_desc = request.json['text']
	DB_result = save_update_token(account, appid, market, token, card, False, card_desc)
	if DB_result == 'success':
		no_db_logger.info('token save success')
		return json.dumps({'result_code':0,'error_msg':''}, ensure_ascii=False)
	else:
		no_db_logger.info('token save fail')
		return json.dumps({'result_code':1,'error_msg':'token保存失败'}, ensure_ascii=False)