| | |
| | | data: params, |
| | | }); |
| | | } |
| | | export function bindClientsForNutrition(params: object) { |
| | | return request({ |
| | | url: '/user/info/bindClientsForNutrition', |
| | | method: 'post', |
| | | data: params, |
| | | }); |
| | | } |
| | | |
| | | export function deleteId(params: string) { |
| | | return request({ |
| | | url: '/user/info/delete', |
| | |
| | | method: 'post', |
| | | params, |
| | | }); |
| | | } |
| | | /** |
| | | * 重置用户密码 |
| | | * @param userCode |
| | | * @returns |
| | | */ |
| | | export function apiResetPwd(userCode: string) { |
| | | return request({ |
| | | url: "/user/info/resetPassword", |
| | | method: "post", |
| | | headers: { |
| | | 'Content-Type': 'application/x-www-form-urlencoded' |
| | | }, |
| | | data: `userCode=${userCode}` |
| | | }) |
| | | } |