Commit 4213ae95 by rongkailun

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/main/java/io/office/config/ShiroConfig.java
parents 04f3f9a6 8c0e0f77
......@@ -61,6 +61,7 @@ public class ShiroConfig {
filterMap.put("/captcha.jpg", "anon");
filterMap.put("/aaa.txt", "anon");
//不需要登录的接口
filterMap.put("/*/api/login", "anon");
filterMap.put("/*/api/**", "anon");
filterMap.put("/api/login", "anon");
filterMap.put("/**", "oauth2");
......
......@@ -147,15 +147,14 @@ public class TycpdmFirmController extends AbstractController {
*/
@RequestMapping("/api/findTycpdmFirmLogoutFlagCount")
// @RequiresPermissions("manage:tycpdmfirm:delete")
@Login
public R findTycpdmFirmLogoutFlagCount(@RequestParam("userId") Integer userId){
/*Integer id=getMemberUserId().intValue();
if(id==null){
return R.error("用户信息有误");
}
MemberEntity userMember = getMemberUser();*/
MemberEntity memberEntity = memberDao.selectById(userId);
Map<String,Integer> map=tycpdmFirmService.findTycpdmFirmLogoutFlagCount(memberEntity);
MemberEntity memberUser = getMemberUser();
Map<String,Integer> map=tycpdmFirmService.findTycpdmFirmLogoutFlagCount(memberUser);
return R.ok().put("data",map);
}
......
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