This commit is contained in:
Waiting 2024-05-17 13:24:25 +08:00
parent 531a955fe2
commit 0b1f0b9e26

View File

@ -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');
}