优化
This commit is contained in:
parent
531a955fe2
commit
0b1f0b9e26
@ -9,13 +9,14 @@ onLaunch((options) => {
|
||||
console.table(miniProgram);
|
||||
|
||||
//生产
|
||||
if(env === 'release') {
|
||||
if(env === 'release' || env === 'trial') {
|
||||
uni.request({
|
||||
url: 'https://api.lakeapp.cn/wechat/version_info',
|
||||
success(res) {
|
||||
console.log(res);
|
||||
const { version, audit } = res.data;
|
||||
if(miniProgram.version === version && audit == 1) {
|
||||
// if(miniProgram.version === version && audit == 1) {
|
||||
if(audit == 1) {
|
||||
setCompanyId('1144085996213624833');
|
||||
setRegisterStoreId('1150930317436633090');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user