|
@@ -1,36 +0,0 @@
|
|
|
-//package com.bizmatics.controller.web.system;
|
|
|
-//
|
|
|
-//import com.bizmatics.common.core.bean.ApiResult;
|
|
|
-//import com.bizmatics.service.system.ISysConfigService;
|
|
|
-//import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-//import org.springframework.util.StringUtils;
|
|
|
-//import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-//import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-//import org.springframework.web.bind.annotation.RestController;
|
|
|
-//
|
|
|
-//
|
|
|
-///**
|
|
|
-// * 注册验证
|
|
|
-// *
|
|
|
-// * @author ruoyi
|
|
|
-// */
|
|
|
-//@RestController
|
|
|
-//public class SysRegisterController extends BaseController
|
|
|
-//{
|
|
|
-// @Autowired
|
|
|
-// private SysRegisterService registerService;
|
|
|
-//
|
|
|
-// @Autowired
|
|
|
-// private ISysConfigService configService;
|
|
|
-//
|
|
|
-// @PostMapping("/register")
|
|
|
-// public ApiResult register(@RequestBody RegisterBody user)
|
|
|
-// {
|
|
|
-// if (!("true".equals(configService.selectConfigByKey("sys.account.registerUser"))))
|
|
|
-// {
|
|
|
-// return error("当前系统没有开启注册功能!");
|
|
|
-// }
|
|
|
-// String msg = registerService.register(user);
|
|
|
-// return StringUtils.isEmpty(msg) ? success() : error(msg);
|
|
|
-// }
|
|
|
-//}
|