Commit 253b5c86 by 徐高华

test

parent 3ba47d9c
......@@ -85,6 +85,10 @@ public class ApplicationController extends WebBaseController {
@IgnoreLogin
@RequestMapping("application-open-close-list")
public HaobanResponse applicationList(String wxEnterpriseId) {
WebLoginDTO loginUser = AuthWebRequestUtil.getLoginUser() ;
if(null != loginUser) {
wxEnterpriseId = loginUser.getWxEnterpriseId() ;
}
if (StringUtils.isAnyBlank(wxEnterpriseId)) {
return resultResponse(HaoBanErrCode.ERR_2);
}
......@@ -126,7 +130,6 @@ public class ApplicationController extends WebBaseController {
}
map.put("open", openList);
map.put("close", closeList);
WebLoginDTO loginUser = AuthWebRequestUtil.getLoginUser() ;
if(null != loginUser) {
String enterpriseId = loginUser.getEnterpriseId() ;
EnterpriseDetailDTO dto = this.wxEnterpriseRelatedApiService.getByEnterpriseId(wxEnterpriseId, enterpriseId) ;
......
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