| 
					
				 | 
			
			
				@@ -25,7 +25,7 @@ def getSource(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     result = MysqlHelper.get_values(sql) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if not result: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return jsonify({'return_code': '200', 'result': [], 'message': 'no data'}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return jsonify({'code': '200', 'result': [], 'message': 'no data'}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     source_list = list() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     for source, task_type, spider_name, machine in result: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         data = dict( 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -35,7 +35,7 @@ def getSource(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             machine=machine 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         source_list.append(data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    return jsonify({'return_code': '200', 'result': source_list}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    return jsonify({'code': '200', 'result': source_list}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @app.route("/v1/crawler/task/insert", methods=["POST"]) 
			 |