Commit 58a9e1f3 by 陶光胜

加日志

parent b1e643c8
......@@ -44,7 +44,8 @@ public class LoginController extends WebBaseController{
@RequestMapping("login")
public void login(String auth_code,HttpServletResponse response) {
String siteId = config.getSuiteId();
String userId = qywxCorpApiService.getUserInfoSimple(siteId,auth_code);
//String userId = qywxCorpApiService.getUserInfoSimple(siteId,auth_code);
String userId = qywxCorpApiService.getLoginUserInfo(config.getCorpid(), auth_code);
logger.info("【企业微信登录】userId={},auth_code={}",userId,auth_code);
StaffDTO loginStaff = staffApiService.selectByUserId(userId);
......
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