update version
This commit is contained in:
parent
5bed09b67f
commit
6c29581ded
|
@ -2,4 +2,5 @@
|
|||
|
||||
return [
|
||||
'adminEmail' => 'admin@example.com',
|
||||
"version" => "1.0.7"
|
||||
];
|
||||
|
|
|
@ -101,7 +101,7 @@ class ApiController extends Controller {
|
|||
]
|
||||
];
|
||||
$res = json_decode(file_get_contents($sync->data, false, stream_context_create($options)), true);
|
||||
if ($res['status'] == 1000) {
|
||||
if (in_array($res['status'], [1000, 10000])) {
|
||||
$modelRes = new \app\models\ResponseReq();
|
||||
$modelRes->create(json_encode($res));
|
||||
$value->delete();
|
||||
|
|
|
@ -1,28 +1,29 @@
|
|||
<?php
|
||||
|
||||
use yii\widgets\Breadcrumbs;
|
||||
use dmstr\widgets\Alert;
|
||||
|
||||
?>
|
||||
<div class="content-wrapper">
|
||||
<!-- <section class="content-header">
|
||||
<?=
|
||||
Breadcrumbs::widget(
|
||||
<?=
|
||||
Breadcrumbs::widget(
|
||||
[
|
||||
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
|
||||
]
|
||||
) ?>
|
||||
)
|
||||
?>
|
||||
</section>-->
|
||||
|
||||
<section class="content" style="padding: 0 0 15px 0;">
|
||||
<input type="hidden" value="<?php echo Yii::$app->user->id; ?>" name="current_user_id">
|
||||
<?= Alert::widget() ?>
|
||||
<?= $content ?>
|
||||
<?= $content ?>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs" style="margin-top: 10px;">
|
||||
<!--<b>Hotline</b> <a href="tel:0912461556">091.246.1556</a>-->
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> <?php echo Yii::$app->params["version"]; ?>
|
||||
</div>
|
||||
<!--<strong>Copyright © 2020 <a href="https://beetinnovators.com/"><img src="/images/BI_Logo.png" width="80px"></a> & <a href="https://tctech.vn/"><img src="/images/TCTech.jpg" width="80px"></a>.</strong> All rights reserved.-->
|
||||
<strong>Copyright © 2020 <a href="https://beetinnovators.com/">BEETINNOVATORS</a>.</strong> All rights reserved.
|
||||
|
|
Loading…
Reference in New Issue
Block a user