gx
chenyc
2025-09-25 9ce7c2a993cd67321885efb01b524567f8901411
src/api/register/index.ts
@@ -59,4 +59,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}`
   })
}