2025-09-16

This commit is contained in:
2025-09-16 16:05:34 +08:00
parent 178bd0d1e9
commit 4df905f3cf
570 changed files with 352745 additions and 97 deletions

View File

@@ -1,4 +1,6 @@
import { http } from "../util/api"
import {
http
} from "../util/api"
// 认证相关API
export const authAPI = {

View File

@@ -8,7 +8,12 @@ export const captchaAPI = {
generate: () => http.get('/captcha/generate'),
// 验证验证码
verify: (data) => http.post('/captcha/verify', data)
verify: (data) => http.post('/captcha/verify', data),
// 发送手机验证码
smsSend: (phone) => http.post('/sms/send', {
phone
})
}
export default {