模板调整
This commit is contained in:
@@ -67,7 +67,7 @@ public class ${table.controllerName} {
|
||||
<% if(!restControllerStyle){ %>
|
||||
@ResponseBody
|
||||
<% } %>
|
||||
public CommonResult.Single<${table.entityName}> getById(@PathVariable("id") Serializable id) {
|
||||
public CommonResult.Single<${table.entityName}> detail(@PathVariable("id") Serializable id) {
|
||||
CommonResult.Single<${table.entityName}> single = CommonResult.Single.init();
|
||||
return single.data(${serviceInstanceName}.getById(id)).message("查询成功");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user