Commit eaa2e923 authored by rlgy's avatar rlgy

update

parent a66c3112
...@@ -15,7 +15,7 @@ class AppController extends BaseController ...@@ -15,7 +15,7 @@ class AppController extends BaseController
{ {
public function actionUpdate() public function actionUpdate()
{ {
$type = \Yii::$app->request->post('type'); $type = \Yii::$app->request->post('type', 1);
$data = AppVersion::getLastStable($type); $data = AppVersion::getLastStable($type);
if ($data) { if ($data) {
$data['log'] = json_decode($data['log']); $data['log'] = json_decode($data['log']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment