瀏覽代碼

新增修改公出地点

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