代码生成:增加 one 情况下的示例代码

(cherry picked from commit 72c5eaae31)
This commit is contained in:
YunaiV
2023-11-12 19:50:38 +08:00
committed by shizhong
parent d176271313
commit 26e6d287f5
9 changed files with 702 additions and 109 deletions

View File

@ -33,3 +33,17 @@ export const deleteDemoStudent = async (id: number) => {
export const exportDemoStudent = async (params) => {
return await request.download({ url: `/infra/demo-student/export-excel`, params })
}
// 获得学生联系人列表
export const getDemoStudentContactListByStudentId = async (studentId) => {
return await request.get({
url: `/infra/demo-student/demo-student/list-by-student-id?studentId=` + studentId
})
}
// 获得学生地址
export const getDemoStudentAddressByStudentId = async (studentId) => {
return await request.get({
url: `/infra/demo-student/demo-student/get-by-student-id?studentId=` + studentId
})
}