diff --git a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/save.ftl b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/save.ftl index 8160fd6..ea29bf0 100644 --- a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/save.ftl +++ b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/save.ftl @@ -533,7 +533,7 @@ // 初始化内容 function initData() { - top.restAjax.get(top.restAjax.path('api/userinfo/getcurrentuseridinfo', []), {}, null, function(code, data) { + top.restAjax.get(top.restAjax.path('api/${lowerTableName}/getcurrentuseridinfo', []), {}, null, function(code, data) { <#list fieldList! as field> <#if field.formShow == 1> <#if field.fieldType == "date">