马宇豪
2024-08-21 d972ec93c21ee8cc62fd514bfd910192eeaf48d8
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
   })
}