From 8d7bb4ac830444afde480a588e99952105ea8ede Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 22 二月 2024 09:19:58 +0800
Subject: [PATCH] mrshi

---
 platform/src/api/system/common.js |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/platform/src/api/system/common.js b/platform/src/api/system/common.js
index a7966ee..7689187 100644
--- a/platform/src/api/system/common.js
+++ b/platform/src/api/system/common.js
@@ -10,6 +10,11 @@
   return request.post('/system/login', data)
 }
 
+// 鐭俊楠岃瘉鐮佺櫥褰�
+export function loginByPhone (data) {
+  return request.post('/system/loginByPhone', data)
+}
+
 // 鐧诲嚭
 export function logout (data) {
   return request.post('/system/logout', data)
@@ -36,12 +41,18 @@
 export function category (data) {
   return request.post('/business/category/list', data)
 }
-// 绫诲埆鍒楄〃鏌ヨ
-export function baseCategory (data) {
-  return request.post('/business/baseCategory/findList', data)
-}
 
 // 瀵煎叆妯℃澘
 export function importExcel (data) {
   return request.post('/business/goods/importExcel', data)
-}
\ No newline at end of file
+}
+
+// 涓婁紶鎺ュ彛
+export function upload (data) {
+  return request.post('/public/upload', data)
+}
+
+// 鍖哄煙鏍戝垪琛�
+export function findTreeList (data) {
+  return request.post('/business/areas/findTreeList', data)
+}

--
Gitblit v1.9.3