yuandeguo 3 years ago
parent
commit
f02c562f23

+ 3 - 0
saas-account/src/main/java/com/persagy/account/controller/SaasFunctionController.java

@@ -29,6 +29,7 @@ import com.persagy.common.utils.StringUtil;
 import com.persagy.security.constant.CipherConstants;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.BeanUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.validation.annotation.Validated;
@@ -48,6 +49,7 @@ import java.util.Map;
  * @author zhangqiankun
  * @date 2021-03-13 15:29:50
  */
+@Slf4j
 @Api(tags = "功能信息")
 @RestController
 @RequestMapping(value = "/function", method = RequestMethod.POST)
@@ -107,6 +109,7 @@ public class SaasFunctionController {
 			return ResponseResultUtil.successResult(Lists.newArrayList());
 		}
 		//默认菜单直接返回默认菜单下的功能点
+		log.info("默认菜单ID:{}",applicationProperties.getDefaultMenuId());
 		if (StringUtils.equals(applicationProperties.getDefaultMenuId(),model.getMenuId())){
 			LambdaQueryWrapper<SaasFunction> queryWrapper = new SaasFunction.Builder().createQueryWrapper()
 					.menuIdEq(saasMenu.getMenuId()).builderQueryWrapper();