master
王家东 2 weeks ago
parent c988d487db
commit f0607da28b
  1. 2
      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<Expert, IExpertService> {
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("注册成功");

Loading…
Cancel
Save