|
|
@ -21,6 +21,7 @@ import com.hyp.framework.manager.AsyncManager;
|
|
|
|
import com.hyp.framework.manager.factory.AsyncFactory;
|
|
|
|
import com.hyp.framework.manager.factory.AsyncFactory;
|
|
|
|
import com.hyp.system.service.ISysConfigService;
|
|
|
|
import com.hyp.system.service.ISysConfigService;
|
|
|
|
import com.hyp.system.service.ISysUserService;
|
|
|
|
import com.hyp.system.service.ISysUserService;
|
|
|
|
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
@ -53,6 +54,7 @@ public class SysRegisterService
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 注册
|
|
|
|
* 注册
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
public String register(RegisterBody registerBody)
|
|
|
|
public String register(RegisterBody registerBody)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
String msg = "", username = registerBody.getUsername(), password = registerBody.getPassword();
|
|
|
|
String msg = "", username = registerBody.getUsername(), password = registerBody.getPassword();
|
|
|
|