chore: update auth and portal

This commit is contained in:
2026-01-14 11:29:17 +08:00
parent fb0a1c2f84
commit 3bcee7efc2
42 changed files with 5969 additions and 3014 deletions

View File

@@ -1,6 +1,7 @@
import { request } from '../utils/request';
import { request } from "../utils/request";
export const authApi = {
sendOTP: (phone) => request('/auth/otp', { method: 'POST', body: { phone } }),
login: (phone, otp) => request('/auth/login', { method: 'POST', body: { phone, otp } }),
sendOTP: (phone) => request("/auth/otp", { method: "POST", body: { phone } }),
login: (phone, otp) =>
request("/auth/login", { method: "POST", body: { phone, otp } }),
};