修复war包部署情况下404、500等页面样式丢失问题

This commit is contained in:
RuoYi
2019-11-18 12:01:38 +08:00
parent 25f51371f5
commit b32111f1ab
5 changed files with 28 additions and 28 deletions

View File

@ -46,19 +46,7 @@ public class ${ClassName}Controller extends BaseController
return prefix + "/${businessName}";
}
#if($table.tree)
/**
* 查询${functionName}树列表
*/
@RequiresPermissions("${permissionPrefix}:list")
@PostMapping("/list")
@ResponseBody
public List<${ClassName}> list(${ClassName} ${className})
{
List<${ClassName}> list = ${className}Service.select${ClassName}List(${className});
return list;
}
#elseif($table.crud)
#if($table.crud)
/**
* 查询${functionName}列表
*/
@ -71,6 +59,18 @@ public class ${ClassName}Controller extends BaseController
List<${ClassName}> list = ${className}Service.select${ClassName}List(${className});
return getDataTable(list);
}
#elseif($table.tree)
/**
* 查询${functionName}树列表
*/
@RequiresPermissions("${permissionPrefix}:list")
@PostMapping("/list")
@ResponseBody
public List<${ClassName}> list(${ClassName} ${className})
{
List<${ClassName}> list = ${className}Service.select${ClassName}List(${className});
return list;
}
#end
/**