diff --git a/api/login.js b/api/login.js
index 6ce7e7c..d6df800 100644
--- a/api/login.js
+++ b/api/login.js
@@ -37,7 +37,14 @@ export function getInfo() {
'method': 'get'
})
}
+//获取最详细的用户数据
+export function getUserInfo() {
+ return request({
+ 'url': '/system/userinfo/getInfo',
+ 'method': 'get'
+ })
+}
// 退出方法
export function logout() {
return request({
diff --git a/pages.json b/pages.json
index 00977c4..f898dcc 100644
--- a/pages.json
+++ b/pages.json
@@ -50,7 +50,14 @@
"style": {
"navigationBarTitleText": "编辑资料"
}
- }, {
+ },
+ {
+ "path": "pages/mine/info/userInfo",
+ "style": {
+ "navigationBarTitleText": "编辑资料"
+ }
+ },
+ {
"path": "pages/mine/pwd/index",
"style": {
"navigationBarTitleText": "修改密码"
diff --git a/pages/loginInfo/login.vue b/pages/loginInfo/login.vue
index 3fafc6f..f4301f9 100644
--- a/pages/loginInfo/login.vue
+++ b/pages/loginInfo/login.vue
@@ -31,9 +31,9 @@
微信
-