refactor: 代码生成表单支持隐藏域
This commit is contained in:
@@ -14,8 +14,8 @@ const ${entityName}API = {
|
||||
/**
|
||||
* 获取${businessName}表单数据
|
||||
*
|
||||
* @param id ${entityName}ID
|
||||
* @returns ${entityName}表单数据
|
||||
* @param id ${businessName}ID
|
||||
* @returns ${businessName}表单数据
|
||||
*/
|
||||
getFormData(id: number) {
|
||||
return request<any, ${entityName}Form>({
|
||||
@@ -36,8 +36,8 @@ const ${entityName}API = {
|
||||
/**
|
||||
* 更新${businessName}
|
||||
*
|
||||
* @param id ${entityName}ID
|
||||
* @param data ${entityName}表单数据
|
||||
* @param id ${businessName}ID
|
||||
* @param data ${businessName}表单数据
|
||||
*/
|
||||
update(id: number, data: ${entityName}Form) {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user