diff --git a/ruoyi-modules/ruoyi-gen/src/main/resources/vm/ts/api.ts.vm b/ruoyi-modules/ruoyi-gen/src/main/resources/vm/ts/api.ts.vm index 0d5400db..8574b2b5 100644 --- a/ruoyi-modules/ruoyi-gen/src/main/resources/vm/ts/api.ts.vm +++ b/ruoyi-modules/ruoyi-gen/src/main/resources/vm/ts/api.ts.vm @@ -68,9 +68,9 @@ export const del${BusinessName} = (${pkColumn.javaField}: string | number | Arra * @param query * @returns {*} */ -export function get${BusinessName}List (query) { +export function get${ClassName}List (query) { return request({ - url: '/${moduleName}/${businessName}/get${BusinessName}List', + url: '/${moduleName}/${businessName}/get${ClassName}List', method: 'get', params: query });