Commit 4f6afa21 by 吴迪

【新增】修改获取当前登录者的id

parent 431dd8a5
......@@ -3,6 +3,7 @@ package io.office.modules.manage.controller;
import java.util.Arrays;
import java.util.Map;
import io.office.modules.app.annotation.Login;
import io.office.modules.manage.entity.MemberEntity;
import io.office.modules.sys.controller.AbstractController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
......@@ -36,7 +37,8 @@ public class UserFunctionBindingController extends AbstractController {
@RequestMapping("/authApi/find")
public R find(){
Object[] functionids = null;
Integer id=getUserId().intValue();
Integer id=getMemberUser().getId().intValue();
if(id==null){
//未登录
return R.ok().put("functionids", functionids);
......
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