From f47ce70afac05ce941b5eafb2d9114c7a017f774 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期二, 06 九月 2022 20:01:27 +0800
Subject: [PATCH] 新增微信账号快捷登录、账号绑定、换绑功能,及页面更新。

---
 utils/api.js |   43 ++++++++++++++++++++++++++++---------------
 1 files changed, 28 insertions(+), 15 deletions(-)

diff --git a/utils/api.js b/utils/api.js
index 86a38e7..12c341e 100644
--- a/utils/api.js
+++ b/utils/api.js
@@ -1,19 +1,25 @@
 export const api = {
+	// 寰俊缁戝畾瀹㈡埛
+	bindWx:{
+		url:'/admin/social/bind',
+		method:"POST"
+	},
+	
 	// 鑾峰彇鍗曚綅鏍�
 	fetchCompTree:{
 		url:'/admin/dept/compTree',
 		method:'GET'
 	},
-	
 
-	// 鎴戠殑鐢宠 
+
+	// 鎴戠殑鐢宠
 	getProcessDataList:{
 		url:'/oa/actBusiness/getByCondition',
 		name:'pig',
 		method:'GET'
 	},
-	
-	
+
+
 	// 鏂板鐢宠
 	getNewProcessDataList:{
 		url:'/oa/actProcess/getByCondition',
@@ -60,8 +66,8 @@
 		name:'pig',
 		method:'GET'
 	},
-	
-	
+
+
 	// 閫夋嫨瀹㈡埛
 	// 鎼滅储
 	customer:{
@@ -78,8 +84,8 @@
 	// 	url:'/yunxiao/account/getAccountByCustmoerIdAndCompId',
 	// 	method:'GET'
 	// },
-	
-	
+
+
 	// 閫夋嫨鍚堝悓
 	contract:{
 		url:'/yunxiao/contract/page',
@@ -98,14 +104,14 @@
 		url:"/yunxiao/trainFreight/find",
 		mehtod:"GET"
 	},
-	
+
 	// 鍚堝悓璇︽儏
 	getByContractId:{
 		url:'/yunxiao/contractitem/getByContractId',
 		method:'GET'
 	},
-	
-	
+
+
 	// 娣诲姞鐢宠
 	xswaybill:{
 		url:'/yunxiao/xswaybill',
@@ -116,8 +122,8 @@
 		url:'/yunxiao/coalpricemodifyinfo/getNewPrice',
 		method:'GET'
 	},
-	
-	
+
+
 	// 鎾ゅ洖
 	withDraw:{
 		url:'/oa/actBusiness/cancel',
@@ -145,7 +151,7 @@
 		name:'pig',
 		method:'GET'
 	},
-	
+
 	// 琛ㄥ崟鏁版嵁
 	formData:{
 		url:'/yunxiao/xswaybill',
@@ -185,4 +191,11 @@
 	// 	url:'/auth/token/logout',
 	// 	method:'DELETE'
 	// }
-}
\ No newline at end of file
+
+	// 鐓や粨褰撳墠鍓╀綑閲�
+	coalbunker:{
+		url:'/yunxiao/coalbunker/page',
+		method:'GET'
+	}
+
+}

--
Gitblit v1.9.1