Commit 5d315cb8 by 徐高华

企微托管账号

parent 8858900a
......@@ -83,7 +83,7 @@ public class QywxOpenController {
* @return
*/
@RequestMapping("login-init")
public RestResponse<Long> init(String staffId , @RequestParam(defaultValue = "0") int loginAgainFlag) {
public RestResponse<OpenStaffDTO> init(String staffId , @RequestParam(defaultValue = "0") int loginAgainFlag) {
WebLoginDTO login = AuthWebRequestUtil.getLoginUser();
String wxEnterpriseId = login.getWxEnterpriseId();
String enterpriseId = login.getEnterpriseId() ;
......@@ -115,7 +115,8 @@ public class QywxOpenController {
if(!resp.isSuccess()) {
return RestResponse.failure("9999",resp.getMessage()) ;
}
return RestResponse.successResult(resp.getResult());
Long openStaffId = resp.getResult() ;
return RestResponse.successResult(this.openStaffApiService.getById(openStaffId).getResult());
}
/**
......
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