diff --git a/App.vue b/App.vue index 98337fa..e90994e 100644 --- a/App.vue +++ b/App.vue @@ -5,7 +5,7 @@ console.log('App Launch') // 1审核 默认进审核 - uni.setStorageSync('SHFlag', true) + uni.setStorageSync('SHFlag', false) this.Post({id:2388},'/api/multimedia/detail').then(res => { if (res && res.data) { let SHFlag = res.data.company_name == 1 ? true : false diff --git a/static/js/request.js b/static/js/request.js index f81f834..95c629b 100644 --- a/static/js/request.js +++ b/static/js/request.js @@ -3,10 +3,10 @@ import store from '@/store'; // 定义 API URL // const DEV_API_URL = 'https://api.cloud.sz-trip.com'; -const DEV_API_URL = 'https://api.sutenong.com' -const PROD_API_URL = 'https://api.sutenong.com'; -// const DEV_API_URL = 'https://swsz.api.js-dyyj.com'; -// const PROD_API_URL = 'https://swsz.api.js-dyyj.com'; +// const DEV_API_URL = 'https://api.sutenong.com' +// const PROD_API_URL = 'https://api.sutenong.com'; +const DEV_API_URL = 'https://swsz.api.js-dyyj.com'; +const PROD_API_URL = 'https://swsz.api.js-dyyj.com'; const NEWAPIURL = process.env.NODE_ENV === 'development' ? DEV_API_URL : PROD_API_URL; // 获取token