From 72bd5f52e9c1566da2a8021195b8b378df9733cf Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Fri, 11 Jun 2021 12:30:44 +0800
Subject: [PATCH] 逻辑修改

---
 pages/poput/workbench/policeDetails/policeDetails.vue |    2 +-
 pages/myself/childen/xinxi.vue                        |    6 +++---
 store/actions.js                                      |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/pages/myself/childen/xinxi.vue b/pages/myself/childen/xinxi.vue
index 0df1c31..61e5127 100644
--- a/pages/myself/childen/xinxi.vue
+++ b/pages/myself/childen/xinxi.vue
@@ -16,11 +16,11 @@
 			</view>
 			<view class="row row-base-info">
 				<view class="title">昵称</view>
-				<view class="msg">{{datalist.nick_name}}</view>
+				<view class="msg">{{user.name}}</view>
 			</view>
 			<view class="row row-base-info">
 				<view class="title">电话</view>
-				<view class="msg">{{phon}}</view>
+				<view class="msg">{{user.phone}}</view>
 			</view>
 			<view class="row row-base-info">
 				<view class="title">邮箱</view>
@@ -48,6 +48,7 @@
 </template>
 
 <script>
+import WxStorage from "../../../static/lib/wxStorage.js" //微信Storage
 export default{
 	data(){
 		return{
@@ -78,7 +79,6 @@
 			var userID = WxStorage.get("ids")
 			console.log(userID)
 			uni.request({
-
 				url: 'http://s16s652780.51mypc.cn/api/blade-user/details?id='+this.$store.state.puserID,
 				method:'POST',
 				success: (res) => {
diff --git a/pages/poput/workbench/policeDetails/policeDetails.vue b/pages/poput/workbench/policeDetails/policeDetails.vue
index c056c37..73f7b15 100644
--- a/pages/poput/workbench/policeDetails/policeDetails.vue
+++ b/pages/poput/workbench/policeDetails/policeDetails.vue
@@ -72,7 +72,7 @@
 					mask: true
 				})
 				wx.request({
-					url: 'https://web.byisf.com/api/blade-jfpts/feedback/feedback/saves', //仅为示例,并非真实接口地址。
+					url: 'http://s16s652780.51mypc.cn/api/blade-jfpts/feedback/feedback/saves', //仅为示例,并非真实接口地址。
 					data: dataList,
 					method: 'POST',
 					header: {
diff --git a/store/actions.js b/store/actions.js
index d3bafbd..eed99ca 100644
--- a/store/actions.js
+++ b/store/actions.js
@@ -16,7 +16,7 @@
 				},
 			],
 			pasw = md5(data.pass),
-			url = 'https://web.byisf.com/api/blade-auth/oauth/token?tenantId=000000&username=' + data.name +
+			url = 'http://s16s652780.51mypc.cn/api/blade-auth/oauth/token?tenantId=963841&username=' + data.name +
 			' &password=' + pasw + '&grant_type=password&scope=all&type=account';
 		// url ='http://192.168.0.109:82/blade-auth/oauth/token';
 		// url ='http://192.168.0.109:82/blade-auth/oauth/token?tenantId=000000&username=admin&password=93369e86dc5fa854a0eaf75558c4039d&grant_type=password';
@@ -36,7 +36,7 @@
 			header: {
 				// "Content-Type":"",
 				"Authorization": "Basic c2FiZXI6c2FiZXJfc2VjcmV0",
-				"Tenant-Id": "000000"
+				"Tenant-Id": "963841"
 
 				// "Cookie": "JSESSIONID=maOJY05vT2jj4nHwsQGSPgWWVFH1mY-TGWOLYCSh"
 			},

--
Gitblit v1.9.3