generated from liutk/owl-admin-base
Update
parent
f8c3f68010
commit
9e9afda714
|
|
@ -40,7 +40,7 @@ class AppVersionController extends Controller
|
||||||
|
|
||||||
// 全量包更新
|
// 全量包更新
|
||||||
if ($apkUpdateVersion) {
|
if ($apkUpdateVersion) {
|
||||||
if ((string) $android->apk_url === '') {
|
if ((string) $android->apk_url !== '') {
|
||||||
$android->update_strategy = AppUpdateStrategy::Apk;
|
$android->update_strategy = AppUpdateStrategy::Apk;
|
||||||
} else {
|
} else {
|
||||||
$android = $apkUpdateVersion;
|
$android = $apkUpdateVersion;
|
||||||
|
|
@ -62,7 +62,7 @@ class AppVersionController extends Controller
|
||||||
|
|
||||||
// 全量包更新
|
// 全量包更新
|
||||||
if ($apkUpdateVersion) {
|
if ($apkUpdateVersion) {
|
||||||
if ((string) $ios->apk_url === '') {
|
if ((string) $ios->apk_url !== '') {
|
||||||
$ios->update_strategy = AppUpdateStrategy::Apk;
|
$ios->update_strategy = AppUpdateStrategy::Apk;
|
||||||
} else {
|
} else {
|
||||||
$ios = $apkUpdateVersion;
|
$ios = $apkUpdateVersion;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue