若依 2.0

pull/13/head
RuoYi 2018-07-02 14:50:47 +08:00
parent d84737f417
commit 2a809d221a
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-${classname}-edit" th:object="${config}">
<form class="form-horizontal m" id="form-${classname}-edit" th:object="${classname}">
<input id="${primaryKey.attrname}" name="${primaryKey.attrname}" th:field="*${${primaryKey.attrname}}" type="hidden">
#foreach($column in $columns)
#if($column.columnName != $primaryKey.columnName)

View File

@ -42,7 +42,7 @@ public class ${className}Controller extends BaseController
* 查询${tableComment}列表
*/
@RequiresPermissions("${moduleName}:${classname}:list")
@@PostMapping("/list")
@PostMapping("/list")
@ResponseBody
public TableDataInfo list(${className} ${classname})
{