From b5f084460e9e639358fbf91056a86be8d0a5c4b2 Mon Sep 17 00:00:00 2001
From: yaolonglong <yaolonglong15@163.com>
Date: 星期四, 09 十月 2025 20:18:57 +0800
Subject: [PATCH] 获取验证码功能
---
api/auth.js | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/api/auth.js b/api/auth.js
index 72195ac..1cd8e49 100644
--- a/api/auth.js
+++ b/api/auth.js
@@ -25,3 +25,19 @@
export function getCompanyInfo(data) {
return http.get(`/system/company/${data.companyId}`, {params: data});
}
+// 鏌ヨ鎯犱紒鏀跨瓥
+export function docList(data) {
+ return http.get(`/system/doc/list`, {params: data});
+}
+// 鏂版敞鍐岃幏鍙栭獙璇佺爜 /verify/getNew
+export function getNewVerify(data) {
+ return http.get(`/verify/getNew`, {params: data});
+}
+// 鏇存崲鎵嬫満鍙风爜 updatePhone
+export function updatePhone(data) {
+ return http.post(`/system/user/profile/updatePhone/${data.phone}/${data.companyId}`, data);
+}
+// /system/company/list
+export function getCompanyList(data){
+ return http.get('/system/company/list',{params: data}, { custom: { loading: true }});
+}
\ No newline at end of file
--
Gitblit v1.9.1