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 }) }