Commit 31fc52a0 by guojx

运维登录相关信息。新版运维登录、运维登录GIC再登录好办

parent 78b12401
...@@ -566,7 +566,7 @@ public class LoginController extends WebBaseController { ...@@ -566,7 +566,7 @@ public class LoginController extends WebBaseController {
*/ */
@RequestMapping("/gic-login-check") @RequestMapping("/gic-login-check")
@IgnoreLogin @IgnoreLogin
public ModelAndView gicLogin(String code, String hbEnt,String hbPage) { public ModelAndView gicLogin(String code, String hbEnt,String hbPage, String operationUserId, String userName) {
logger.info("gic登录clerkId={},hbEnt={}", code, hbEnt); logger.info("gic登录clerkId={},hbEnt={}", code, hbEnt);
PowerClerkDTO clerkDTO = this.userService.haobanLoginBack(code); PowerClerkDTO clerkDTO = this.userService.haobanLoginBack(code);
if (clerkDTO == null) { if (clerkDTO == null) {
...@@ -582,6 +582,9 @@ public class LoginController extends WebBaseController { ...@@ -582,6 +582,9 @@ public class LoginController extends WebBaseController {
retMap.put("enterpriseId", gicEnterpriseId); retMap.put("enterpriseId", gicEnterpriseId);
retMap.put("phoneNumber", loginPhoneNumber); retMap.put("phoneNumber", loginPhoneNumber);
retMap.put("timestamp", System.currentTimeMillis()+"") ; retMap.put("timestamp", System.currentTimeMillis()+"") ;
//运维登录信息
retMap.put("operationUserId", operationUserId) ;
retMap.put("userName", userName) ;
String ret = JSONObject.toJSONString(retMap); String ret = JSONObject.toJSONString(retMap);
AES aes = SecureUtil.aes(LOGIN_KEY.getBytes()); AES aes = SecureUtil.aes(LOGIN_KEY.getBytes());
String random = aes.encryptHex(ret); String random = aes.encryptHex(ret);
......
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