首页登录39后台
This commit is contained in:
@@ -75,7 +75,8 @@ export default {
|
||||
password: PWD
|
||||
}, {
|
||||
_this: this,
|
||||
loading: 'loading'
|
||||
loading: 'loading',
|
||||
prefix: '/foton'
|
||||
}, res => {
|
||||
if (res.ok) {
|
||||
const JSESSIONID = document.cookie
|
||||
@@ -240,7 +241,8 @@ export default {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$http.get('person/userInfo/getByUserInfoCode', {
|
||||
}, {
|
||||
_this: this
|
||||
_this: this,
|
||||
prefix: '/foton'
|
||||
}, res => {
|
||||
if (true) {
|
||||
resolve(res.data)
|
||||
@@ -255,7 +257,10 @@ export default {
|
||||
// 获取用户头像
|
||||
getUserPic (attId) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$http.get('/att/attFile/' + attId, {}, {_this: this}, res => {
|
||||
this.$http.get('/att/attFile/' + attId, {}, {
|
||||
_this: this,
|
||||
prefix: '/foton'
|
||||
}, res => {
|
||||
resolve(res.data)
|
||||
}, e => {
|
||||
reject(e)
|
||||
@@ -270,7 +275,8 @@ export default {
|
||||
getMenu () {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$http.get('userMenu', {}, {
|
||||
_this: this
|
||||
_this: this,
|
||||
prefix: '/foton'
|
||||
}, res => {
|
||||
if (res.ok) {
|
||||
resolve(res.data)
|
||||
|
||||
Reference in New Issue
Block a user