staging #40

Merged
hy merged 3 commits from staging into master 2025-12-09 18:28:13 +08:00
1 changed files with 8 additions and 5 deletions
Showing only changes of commit 62159a50ce - Show all commits

View File

@ -10,13 +10,14 @@ import { Ref } from "vue";
* @description
* @return {void}
*/
export function ImportTransferStudent(data) {
export function ImportTransferStudent(file) {
let formData = new FormData();
formData.append("file", file);
return http.request<Res<any>>(
"post",
`userCenter/back/users/importtransferstudent`,
{
data
data: formData
},
{
headers: {
@ -30,12 +31,14 @@ export function ImportTransferStudent(data) {
* @description 退
* @return {void}
*/
export function ImportStudentOut(data: any) {
export function ImportStudentOut(file: any) {
let formData = new FormData();
formData.append("file", file);
return http.request<Res<any>>(
"post",
`userCenter/back/users/importstudentout`,
{
data
data: formData
},
{
headers: {