소스 검색

新增修改公出地点

anderx 3 년 전
부모
커밋
f685efa5ef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/goafanti/weChat/controller/AdminReleaseApiController.java

+ 1 - 1
src/main/java/com/goafanti/weChat/controller/AdminReleaseApiController.java

@@ -93,7 +93,7 @@ public class AdminReleaseApiController extends CertifyApiController{
 			res.getError().add(buildErrorMessageParams(ErrorConstants.PARAM_EMPTY_ERROR,"编号"));
 			return res;
 		}
-		if (in.getLatitude()==null&&in.getLongitude()==null&&in.getUserName()==null){
+		if (in.getLatitude()==null||in.getLongitude()==null||in.getUserName()==null){
 			res.getError().add(buildErrorMessageParams(ErrorConstants.PARAM_EMPTY_ERROR,"位置"));
 			return res;
 		}