update version
This commit is contained in:
parent
5bed09b67f
commit
6c29581ded
|
@ -2,4 +2,5 @@
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'adminEmail' => 'admin@example.com',
|
'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);
|
$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 = new \app\models\ResponseReq();
|
||||||
$modelRes->create(json_encode($res));
|
$modelRes->create(json_encode($res));
|
||||||
$value->delete();
|
$value->delete();
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use yii\widgets\Breadcrumbs;
|
use yii\widgets\Breadcrumbs;
|
||||||
use dmstr\widgets\Alert;
|
use dmstr\widgets\Alert;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<!-- <section class="content-header">
|
<!-- <section class="content-header">
|
||||||
|
@ -10,7 +10,8 @@ use dmstr\widgets\Alert;
|
||||||
[
|
[
|
||||||
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
|
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
|
||||||
]
|
]
|
||||||
) ?>
|
)
|
||||||
|
?>
|
||||||
</section>-->
|
</section>-->
|
||||||
|
|
||||||
<section class="content" style="padding: 0 0 15px 0;">
|
<section class="content" style="padding: 0 0 15px 0;">
|
||||||
|
@ -21,8 +22,8 @@ use dmstr\widgets\Alert;
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer class="main-footer">
|
<footer class="main-footer">
|
||||||
<div class="pull-right hidden-xs" style="margin-top: 10px;">
|
<div class="pull-right hidden-xs">
|
||||||
<!--<b>Hotline</b> <a href="tel:0912461556">091.246.1556</a>-->
|
<b>Version</b> <?php echo Yii::$app->params["version"]; ?>
|
||||||
</div>
|
</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/"><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.
|
<strong>Copyright © 2020 <a href="https://beetinnovators.com/">BEETINNOVATORS</a>.</strong> All rights reserved.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user