monitest start
This commit is contained in:
parent
143e34d1ac
commit
014b339395
|
@ -48,9 +48,9 @@ App({
|
|||
globalData: {
|
||||
userInfo: null,
|
||||
userinfo: null, // 服务器传回的消费者信息
|
||||
// host: 'https://apitest.ctcshe.com/',
|
||||
host: 'https://apitest.ctcshe.com/',
|
||||
mediahost: 'https://apitest.ctcshe.com/',
|
||||
host: 'http://127.0.0.1:8000/',
|
||||
// host: 'http://127.0.0.1:8000/',
|
||||
// mediahost: 'http://127.0.0.1:8000/',
|
||||
token : '',
|
||||
subject:null,
|
||||
|
|
|
@ -16,8 +16,9 @@ Page({
|
|||
onLoad: function () {
|
||||
if (getApp().globalData.userinfo.workscope) {
|
||||
this.setData({
|
||||
workscopeId: getApp().globalData.userinfo.workscope
|
||||
workId: getApp().globalData.userinfo.workscope
|
||||
})
|
||||
this.genPaper()
|
||||
} else {
|
||||
wx.switchTab({
|
||||
url: '/pages/main/main',
|
||||
|
|
Loading…
Reference in New Issue