|
@@ -24,6 +24,7 @@ import com.xy.utils.R;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
@@ -45,6 +46,7 @@ import static com.xy.utils.Beans.tree;
|
|
|
* @author lijin
|
|
|
* @since 2022-12-09
|
|
|
*/
|
|
|
+@Slf4j
|
|
|
@Api(tags = "菜单管理")
|
|
|
@Service
|
|
|
@AllArgsConstructor
|
|
@@ -114,6 +116,7 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
|
|
|
List<SysMenuJoinSysRoleMenu> menus = Emptys.check(workMenu.getClientType())
|
|
|
? RedisCache.getMenu(sysId, workMenu.getClientType())
|
|
|
: RedisCache.getMenu(sysId);
|
|
|
+ log.info("菜单语言类型:{}", lang);
|
|
|
menus.forEach(sysMenuJoinSysRoleMenu -> list.add(copy(SysMenuDto.Vo.class, sysMenuJoinSysRoleMenu)));
|
|
|
if ("en".equals(lang)) {
|
|
|
//英文菜单
|