monitest start

This commit is contained in:
caoqianming 2020-03-27 10:24:18 +08:00
parent 143e34d1ac
commit 014b339395
2 changed files with 4 additions and 3 deletions

View File

@ -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,

View File

@ -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',