报工页面的项目选择器

This commit is contained in:
砂糖
2025-09-05 15:24:42 +08:00
parent 3f01c5eb48
commit be2c913979
10 changed files with 71 additions and 40 deletions

View File

@@ -72,7 +72,7 @@ function checkUpdate(forceCheck = false) {
const localVersion = plus.runtime.version;
const localWgtVersion = uni.getStorageSync('wgtVersion') || localVersion;
uni.request({
url: 'http://47.117.71.33:11295/fadapp-update/version.json?t=' + Date.now(),
url: 'http://49.232.154.205:10900/fadapp-update/version.json?t=' + Date.now(),
success: (res) => {
const remoteVersion = res.data.version;
const wgtUrl = res.data.wgtUrl;
@@ -89,7 +89,7 @@ function checkUpdate(forceCheck = false) {
cancelText: '取消',
success: (res) => {
if (res.confirm) {
const downloadUrl = `http://47.117.71.33:11295/fadapp-update/fad${remoteVersion}.apk`;
const downloadUrl = `http://49.232.154.205:10900/fadapp-update/fad${remoteVersion}.apk`;
// #ifdef APP-PLUS
plus.runtime.openURL(downloadUrl);
// #endif