马宇豪
2024-08-21 11812ec34931e78939e87effdc32a0d0b8d04b3b
api/index.js
@@ -16,9 +16,9 @@
   })
}
export function getUserInfo(id) {
export function getUserInfo() {
   return service({
      url: `/api/app/student/${id}`,
      url: '/api/app/config/getConfigByUser',
      method: 'GET'
   })
}
@@ -118,4 +118,13 @@
      url: `/api/app/product/productSold/${productId}`,
      method: 'POST',
   })
}
// 重置密码
export function resetPwd(data) {
   return service({
      url: '/api/app/user/resetPwd',
      method: 'PUT',
      data
   })
}