1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import service from "@/api";
 
export const uploadImg = (fromData) => {
  return service.post("/api/student/upload/image", fromData, {
    headers: {
      "Content-Type": "multipart/form-data",
    },
  });
};
export const userUpdate = (postData) => {
  return service.post("/api/student/user/update", postData);
};
export const passwordUpdate = (postData) => {
  return service.post("/api/student/user/update/password", postData);
};