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 | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/api/auth.js b/api/auth.js
index bda0af4..1cd8e49 100644
--- a/api/auth.js
+++ b/api/auth.js
@@ -35,5 +35,9 @@
}
// 鏇存崲鎵嬫満鍙风爜 updatePhone
export function updatePhone(data) {
- return http.post(`/system/user/profile/updatePhone/${data.phone}`, 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