|  | @@ -11,17 +11,14 @@ def behavioral_statistics():
 | 
	
		
			
				|  |  |          父选项对应的标准化值
 | 
	
		
			
				|  |  |      :return:
 | 
	
		
			
				|  |  |      """
 | 
	
		
			
				|  |  | -    try:
 | 
	
		
			
				|  |  | -        city = request.args.get('city', default=None, type=str)
 | 
	
		
			
				|  |  | -        age = request.args.get('age', default=None, type=str)
 | 
	
		
			
				|  |  | -        crowd = request.args.get('crowd', default=None, type=str)
 | 
	
		
			
				|  |  | -        print(city, age, crowd)
 | 
	
		
			
				|  |  | -        mvp = Mvp()
 | 
	
		
			
				|  |  | -        scores = mvp.query_behavioral_info(city, age, crowd)
 | 
	
		
			
				|  |  | -        mvp.close()
 | 
	
		
			
				|  |  | -        return json.dumps(scores, ensure_ascii=False)
 | 
	
		
			
				|  |  | -    except Exception as e:
 | 
	
		
			
				|  |  | -        return e
 | 
	
		
			
				|  |  | +    city = request.args.get('city', default=None, type=str)
 | 
	
		
			
				|  |  | +    age = request.args.get('age', default=None, type=str)
 | 
	
		
			
				|  |  | +    crowd = request.args.get('crowd', default=None, type=str)
 | 
	
		
			
				|  |  | +    print(city, age, crowd)
 | 
	
		
			
				|  |  | +    mvp = Mvp()
 | 
	
		
			
				|  |  | +    scores = mvp.query_behavioral_info(city, age, crowd)
 | 
	
		
			
				|  |  | +    mvp.close()
 | 
	
		
			
				|  |  | +    return json.dumps(scores, ensure_ascii=False)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  @app.route('/infos', methods=["GET", 'POST'])
 |