|
|
@ -10,7 +10,7 @@ Vue.prototype.NEWAPIURL = NEWAPIURL |
|
|
|
Vue.prototype.Post = (params, apiurl) => { |
|
|
|
if (uni.getStorageSync('userInfo') && JSON.parse(uni.getStorageSync('userInfo')).token) params.token = JSON.parse(uni.getStorageSync('userInfo')).token |
|
|
|
else if (store.state.user.userInfo.token) params.token = store.state.user.userInfo.token |
|
|
|
params.token = '84bf42c7-e4b9-48b7-976e-2dddcc596d39' |
|
|
|
// params.token = '84bf42c7-e4b9-48b7-976e-2dddcc596d39'
|
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
uni.showLoading({ |
|
|
|
title: '加载中' |
|
|
|