From b11c962b71a6fd1e2fe8b88f65c954c61bc67fa3 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 18 Aug 2021 11:08:09 +0800
Subject: [PATCH] 好友列表修改

---
 store/actions.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/store/actions.js b/store/actions.js
index ee020c1..a677000 100644
--- a/store/actions.js
+++ b/store/actions.js
@@ -17,7 +17,7 @@
 		var addr = position.addr; //详细地址
 
 		wx.request({
-			url: "http://223.82.109.183:2080/api/liveLocation/saveLiveLocationAndLocus",
+			url: this.$store.state.piAPI + "/liveLocation/saveLiveLocationAndLocus",
 			method: "post",
 			data: {
 				type: 1,
@@ -58,7 +58,7 @@
 				},
 			],
 			pasw = md5(data.pass),
-			// url = 'http://223.82.109.183:2080/api/blade-auth/oauth/token?tenantId=000000&username=' + data.name +
+			// url = this.$store.state.piAPI + '/blade-auth/oauth/token?tenantId=000000&username=' + data.name +
 			url = store.state.piAPI + '/blade-auth/oauth/token?tenantId=000000&username=' + data.name +
 			' &password=' + pasw + '&grant_type=password&scope=all&type=account';
 		// url ='http://192.168.0.109:82/blade-auth/oauth/token';
@@ -116,7 +116,7 @@
 						30000)
 
 					uni.request({
-						url: "http://223.82.109.183:2080/api/blade-system/dept/detail?id=" + res
+						url: this.$store.state.piAPI + "/blade-system/dept/detail?id=" + res
 							.data.dept_id,
 						method: "get",
 						data: {

--
Gitblit v1.9.3