change(gen): 更新 API 函数命名,与controller层统一

- 将 get${BusinessName}List 函数名中的 ${BusinessName} 替换为 ${ClassName}
- 相应地更新了 API 请求的 URL 路径
master
zch 2 weeks ago
parent 5fb4dc48bf
commit dfe9aa755c

@ -68,9 +68,9 @@ export const del${BusinessName} = (${pkColumn.javaField}: string | number | Arra
* @param query * @param query
* @returns {*} * @returns {*}
*/ */
export function get${BusinessName}List (query) { export function get${ClassName}List (query) {
return request({ return request({
url: '/${moduleName}/${businessName}/get${BusinessName}List', url: '/${moduleName}/${businessName}/get${ClassName}List',
method: 'get', method: 'get',
params: query params: query
}); });

Loading…
Cancel
Save