Commit b10679d9 by qwmqiuwenmin

fix

parent 767a7221
......@@ -37,9 +37,10 @@ public class LoginController extends WebBaseController{
private Config config;
@RequestMapping("login")
public HaobanResponse login(String code) {
public HaobanResponse login(String auth_code) {
String siteId = config.getSuiteId();
String userId = qywxCorpApiService.getUserInfoSimple(siteId,code);
String userId = qywxCorpApiService.getUserInfoSimple(siteId,auth_code);
logger.info("【企业微信登录】userId={}",userId);
StaffDTO loginStaff = staffApiService.selectByUserId(userId);
LoginVO loginVO = new LoginVO();
......
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