Browse Source

新增修改公出地点

anderx 3 years ago
parent
commit
f685efa5ef

+ 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;
 		}