| 123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace pt\controllers;
- use bizHd\wx\services\MiniUpgradeService;
- use common\components\util;
- use Yii;
- use yii\web\Controller;
- class MiniUpgradeController extends BaseController
- {
-
- //审核记录
- public function actionList()
- {
- $where = [];
- $status = Yii::$app->request->get('status', -1);
- if ($status != -1) {
- $where['status'] = $status;
- }
- $list = MiniUpgradeService::getUpgradeList($where);
- $list['version'] = 11;
- util::success($list);
- }
-
- //更新版本 ssh 2019.12.20
- public function actionUpdate()
- {
- $version = Yii::$app->request->get('version');
- util::complete('提交成功');
- }
- }
|