Commit c1805ba6 authored by liudonghua's avatar liudonghua
Browse files

fix function code name

parent 711ceea2
......@@ -112,8 +112,8 @@ public class ${entity.name}Controller{
return new JsonResult().success();
}
\@PostMapping(MODEL + "/update.json")
\@Function("${basicfunctionCode}.update")
\@PostMapping(MODEL + "/edit.json")
\@Function("${basicfunctionCode}.edit")
\@ResponseBody
public JsonResult<String> update(\@Validated(ValidateConfig.UPDATE.class) ${entity.name} ${entity.code}) {
boolean success = ${service}.update(${entity.code});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment