fix(show): delete show

This commit is contained in:
2026-02-05 18:19:45 +08:00
parent 04611e98e3
commit 0280929c64
8 changed files with 38 additions and 76 deletions

View File

@@ -5,7 +5,7 @@ import { Login } from "./types"
// 获取验证码
export const getVerifyCode = (params: { phone: string }) => {
return httpFetch<ResultData<{}>>({
url: `/api/v1/front/login/get_verify_code`,
url: `/api/v1/basis/login/get_verify_code`,
method: "POST",
body: JSON.stringify(params),
})
@@ -14,7 +14,7 @@ export const getVerifyCode = (params: { phone: string }) => {
// 账户登录
export const passwdLogin = (params: Login.ReqPasswdLogin) => {
return httpFetch<ResultData<Login.ResLogin>>({
url: `/api/v1/front/login/passwd`,
url: `/api/v1/basis/login/passwd`,
method: "POST",
body: JSON.stringify(params),
isLogin: true,
@@ -24,7 +24,7 @@ export const passwdLogin = (params: Login.ReqPasswdLogin) => {
// 验证码登录
export const verificationLogin = (params: Login.ReqVerificationLogin) => {
return httpFetch<ResultData<Login.ResLogin>>({
url: `/api/v1/front/login/verification`,
url: `/api/v1/basis/login/verification`,
method: "POST",
body: JSON.stringify(params),
isLogin: true,
@@ -34,7 +34,7 @@ export const verificationLogin = (params: Login.ReqVerificationLogin) => {
// 飞书登录
export const fetchFeishuLogin = (params: Login.ReqFeishuLogin) => {
return httpFetch<ResultData<Login.ResLogin>>({
url: `/api/v1/front/login/feishu`,
url: `/api/v1/basis/login/feishu`,
method: "POST",
body: JSON.stringify(params),
isLogin: true,
@@ -44,7 +44,7 @@ export const fetchFeishuLogin = (params: Login.ReqFeishuLogin) => {
// 刷新token
export const refreshKey = (params: { token: string }) => {
return httpFetch<ResultData<Login.ResRefreshKey>>({
url: `/api/v1/front/key/refresh`,
url: `/api/v1/basis/key/refresh`,
method: "POST",
body: JSON.stringify(params),
isRefresh: true,