Antiloveg 8 年之前
父節點
當前提交
5a1f076f6f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/common/controller/PublicController.java

+ 1 - 1
src/main/java/com/goafanti/common/controller/PublicController.java

@@ -433,7 +433,7 @@ public class PublicController extends BaseController {
 			return res;
 		}
 
-		if (!UserType.ORGANIZATION.getCode().equals(type) || !UserType.PERSONAL.getCode().equals(type)) {
+		if (!UserType.ORGANIZATION.getCode().equals(type) && !UserType.PERSONAL.getCode().equals(type)) {
 			res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "type"));
 			return res;
 		}