diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java index 7b6969b..4e48d96 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java @@ -732,6 +732,8 @@ public class ExpertController extends JeecgController { user.setDelFlag(CommonConstant.DEL_FLAG_0); sysUserService.saveUser(user, "1843478958968647681", ssdep, ""); Expert expert = new Expert(); + expert.setAdminopen("1"); + expert.setCompopen("1"); expert.setSeusername(username); expertService.save(expert); return Result.OK("注册成功");