Commit f5a356d1 by huang

111

parent 49e7e3f4
...@@ -33,6 +33,20 @@ public class LoginController extends WebBaseController{ ...@@ -33,6 +33,20 @@ public class LoginController extends WebBaseController{
return resultResponse(HaoBanErrCode.ERR_1, loginVO); return resultResponse(HaoBanErrCode.ERR_1, loginVO);
} }
//运维登录
@RequestMapping("yw-login")
public HaobanResponse login(String wxEnterpriseId) {
//TODO 获取超级管理员账号接口
StaffDTO staff = new StaffDTO();
LoginVO loginVO = new LoginVO();
loginVO.setWxEnterpriseId(wxEnterpriseId);
loginVO.setStaffDTO(staff);
AuthRequestUtil.setSessionUser(loginVO);
return resultResponse(HaoBanErrCode.ERR_1, loginVO);
}
@RequestMapping("login-out") @RequestMapping("login-out")
public HaobanResponse loginOut() { public HaobanResponse loginOut() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment