no message
							parent
							
								
									78f15dcd2a
								
							
						
					
					
						commit
						f9467dffb8
					
				| 
						 | 
				
			
			@ -357,7 +357,7 @@ public class AgvTaskServiceImpl implements AgvTaskService {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    private void sendAgvTask(AgvTask agvTask, String json) {
 | 
			
		||||
       /* String resultJson = HttpPostUtil.sendPostReq(UrlApi.submitMission(), json);
 | 
			
		||||
        String resultJson = HttpPostUtil.sendPostReq(UrlApi.submitMission(), json);
 | 
			
		||||
        if (StringUtils.isEmpty(resultJson)) {
 | 
			
		||||
            throw new BadRequestException("AGV返回信息:下发任务接口调用失败!");
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			@ -367,10 +367,7 @@ public class AgvTaskServiceImpl implements AgvTaskService {
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        String code = resulObject.getString("code");
 | 
			
		||||
        String message = resulObject.getString("message");*/
 | 
			
		||||
        String code = "0";
 | 
			
		||||
        String message = "";
 | 
			
		||||
        String resultJson = "";
 | 
			
		||||
        String message = resulObject.getString("message");
 | 
			
		||||
        if (!"0".equals(code)) {
 | 
			
		||||
            throw new BadRequestException("AGV返回信息:" + message);
 | 
			
		||||
        } else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue