def delete_token():
	appid = request.json['appid']
	account = request.json['app_account']
	DB_result = delete_tokens(account, appid)
	if DB_result == 'success':
		no_db_logger.info('token delete success')
		return json.dumps({'result_code':0,'error_msg':''}, ensure_ascii=False)
	else:
		no_db_logger.info('token delete fail')
		return json.dumps({'result_code':1,'error_msg':'token删除失败'}, ensure_ascii=False)