Commit 7619f384 by 徐高华

企微托管

parent 724915ed
...@@ -246,7 +246,7 @@ public class QywxOpenController { ...@@ -246,7 +246,7 @@ public class QywxOpenController {
* 许可数量查询 * 许可数量查询
*/ */
@RequestMapping("license-info") @RequestMapping("license-info")
public RestResponse<OpenStaffLicenseDTO> licenseInfo() { public RestResponse<OpenQwAccountInfoVO> licenseInfo() {
WebLoginDTO login = AuthWebRequestUtil.getLoginUser(); WebLoginDTO login = AuthWebRequestUtil.getLoginUser();
String wxEnterpriseId = login.getWxEnterpriseId(); String wxEnterpriseId = login.getWxEnterpriseId();
String enterpriseId = login.getEnterpriseId(); String enterpriseId = login.getEnterpriseId();
...@@ -255,8 +255,9 @@ public class QywxOpenController { ...@@ -255,8 +255,9 @@ public class QywxOpenController {
return RestResponse.failure("9999", resp.getMessage()); return RestResponse.failure("9999", resp.getMessage());
} }
OpenQwAccountInfoVO vo = this.getCheckInfo(wxEnterpriseId,enterpriseId) ; OpenQwAccountInfoVO vo = this.getCheckInfo(wxEnterpriseId,enterpriseId) ;
resp.getResult().setGicTotal(vo.getGicTotal()); vo.setUseNum(resp.getResult().getUseNum());
return RestResponse.successResult(resp.getResult()); vo.setValidNum(resp.getResult().getValidNum());
return RestResponse.successResult(vo);
} }
/** /**
......
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