From a6f64303f88508d1c4d6ce53ff46be6b745cfb93 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 14 十月 2025 15:21:59 +0800
Subject: [PATCH] 完成营养师管理
---
src/api/register/index.ts | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/src/api/register/index.ts b/src/api/register/index.ts
index 178abcf..c03ce4d 100644
--- a/src/api/register/index.ts
+++ b/src/api/register/index.ts
@@ -43,6 +43,14 @@
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',
@@ -59,4 +67,19 @@
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}`
+ })
}
\ No newline at end of file
--
Gitblit v1.8.0