From d7fe8ae3888c8e2b1eea3c1e3769be0d42a21cc9 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 16 十月 2023 09:03:47 +0800
Subject: [PATCH] Merge branch '1.0.3' of http://139.186.142.91:10010/r/productDev/dmMes into 1.0.3
---
minipro_standard/util/api/index.js | 86 +++++++++++++++++++++++--------------------
1 files changed, 46 insertions(+), 40 deletions(-)
diff --git a/minipro_standard/util/api/index.js b/minipro_standard/util/api/index.js
index b92258e..15b9d22 100644
--- a/minipro_standard/util/api/index.js
+++ b/minipro_standard/util/api/index.js
@@ -3,49 +3,20 @@
export function coustomLogin(params) {
return http.get('/wechat/ordinaryLogin', {params})
}
+
// 寰俊鎺堟潈
export function wxEmpower(params) {
return http.get('/wechat/wxEmpower', {params})
}
-// 鍒嗛〉鏌ヨ椤圭洰淇℃伅
-export function projectPage(data) {
- return http.post('/wechat/project/page', data)
+
+// 鏌ヨ缁熻鍒楄〃鏁伴噺
+export function pageCount(data) {
+ return http.post('/ext/noticesExt/pageCount', data)
}
-// 鏍规嵁椤圭洰id鍒嗛〉鏌ヨ浼佷笟鎶ュ悕鏁版嵁
-export function getPageByProjectId(data) {
- return http.post('/wechat/getPageByProjectId', data)
-}
-
-// 鏍规嵁ID鏌ヨ鎶ュ悕璇︽儏
-export function declaresDetail(id) {
- return http.get(`/wechat/declares/${id}`)
-}
-
-// 鏍规嵁ID鏌ヨ鎶ュ悕璇︽儏
-export function companyDetail(params) {
- return http.get(`/wechat/company/queryDetail`, { params })
-}
-
-
-// 鏍规嵁椤圭洰id鍒嗛〉鏌ヨ浼佷笟鎶ュ悕鏁版嵁
-export function serviceDetail(data) {
- return http.post('/wechat/declares/serviceDetail', data)
-}
-
-// 鏍规嵁缁忕含搴﹂�嗚В鏋愬湴鍧�
-export function getAddrByLatAndLng(params) {
- return http.get(`/wechat/getAddrByLatAndLng`, { params })
-}
-
-// 鏍规嵁鐢虫姤缂栫爜鏌ヨ鏈�鍚庝竴娆℃牳鏌ユ垨璇婃柇鏁版嵁
-export function declareService({id, type}) {
- return http.post(`/wechat/declareService/${id}?type=${type}`)
-}
-
-// 涓婁紶鏍告煡璧勬枡-涓婁紶鏈嶅姟璧勬枡
-export function uploadHCData(data) {
- return http.post(`/wechat/uploadHCData`, data)
+// 鑿滃崟鏁版嵁
+export function getTreeList(params) {
+ return http.get('/system/menu/treeNodes', {params})
}
// 閫�鍑虹櫥褰�
@@ -53,7 +24,42 @@
return http.get(`/wechat/logout`)
}
-// 鏍规嵁鐢虫姤id鏌ョ湅鐢虫姤杩涘害
-export function getDeclareHistoryList(data) {
- return http.post(`/wechat/getDeclareHistoryList`, data)
+// 寰俊鍏紬鍙风櫥褰�
+export function wxAccountLogin(data) {
+ return http.post('/system/wxAccountLogin', data)
+}
+
+// 鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛淇℃伅
+export function getUserInfo(params) {
+ return http.get('/system/getUserInfo', {params})
+}
+
+// 鑾峰彇寰俊openId
+export function wxLogin(params) {
+ return http.get('/system/wxLogin', {params})
+}
+
+// 寰俊灏忕▼搴忕櫥褰�
+export function wxProgramLogin(params) {
+ return http.get('/system/wxProgramLogin', {params})
+}
+
+// 寰俊閫�鍑虹櫥褰�
+export function wxLoginOut(data) {
+ return http.post('/system/wxLoginOut', data)
+}
+
+// 鏌ヨ褰撳墠鐢ㄦ埛鎵�鏈変富缁勭粐涓嬬殑宸ュ簭
+export function getWorkingProcedure(data) {
+ return http.post('/ext/proceduresExt/productesGroup', data)
+}
+
+// 鏌ヨ褰撳墠鐢ㄦ埛鎵�鏈変富缁勭粐涓嬬殑宸ュ簭
+export function getOrganization(data) {
+ return http.post('/ext/departmentExt/getDepartmentListByConditon', data)
+}
+
+// 鑾峰彇涓婁紶瀛楀吀鍊�
+export function queryListByCode(params) {
+ return http.get('/system/dictData/queryListByCode', {params})
}
\ No newline at end of file
--
Gitblit v1.9.3