This commit is contained in:
quantulr
2023-08-30 17:27:21 +08:00
commit 0288146b0d
85 changed files with 26508 additions and 0 deletions

17
miniprogram/api/login.ts Normal file
View File

@ -0,0 +1,17 @@
import httpClient from "../utils/request";
interface LoginForm {
code: string;
}
export const login = (data: LoginForm) =>
httpClient.request({
url: "/mini-app/login",
method: "POST",
data,
});
export const getInfo = () =>
httpClient.request({
url: "/getInfo",
});