lyhzzz 2 年之前
父节点
当前提交
c115d28f6d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/ucenter/controller/SceneApplyController.java

+ 1 - 1
src/main/java/com/fdkankan/ucenter/controller/SceneApplyController.java

@@ -36,7 +36,7 @@ public class SceneApplyController {
     public ResultData save(@RequestBody SceneApply sceneApplyEntity){
         if(StringUtils.isEmpty(sceneApplyEntity.getName()) || StringUtils.isEmpty(sceneApplyEntity.getPhone())
          || StringUtils.isEmpty(sceneApplyEntity.getCompany()) || StringUtils.isEmpty(sceneApplyEntity.getJob())
-        || StringUtils.isEmpty(sceneApplyEntity.getCountry()) || StringUtils.isEmpty(sceneApplyEntity.getRemark())){
+        || StringUtils.isEmpty(sceneApplyEntity.getCountry())){
             throw new BusinessException(ErrorCode.MISSING_REQUIRED_PARAMETERS);
         }
         sceneApplyService.save(sceneApplyEntity);