MiniUpgradeController.php 601 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace saas\controllers;
  3. use biz\weixin\services\MiniUpgradeService;
  4. use common\components\util;
  5. use Yii;
  6. use yii\web\Controller;
  7. class MiniUpgradeController extends BaseController
  8. {
  9. //审核记录
  10. public function actionList()
  11. {
  12. $where = [];
  13. $status = Yii::$app->request->get('status', -1);
  14. if ($status != -1) {
  15. $where['status'] = $status;
  16. }
  17. $list = MiniUpgradeService::getUpgradeList($where);
  18. util::success($list);
  19. }
  20. //更新版本 shish 2019.12.20
  21. public function actionUpdate()
  22. {
  23. $version = Yii::$app->request->get('version');
  24. util::ok('提交成功');
  25. }
  26. }