ApplyController.php 466 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace business\controllers;
  3. use biz\saas\services\ApplyService;
  4. use Yii;
  5. use common\components\util;
  6. class ApplyController extends BaseController
  7. {
  8. //我的代理 shish 2019.12.26
  9. public function actionList()
  10. {
  11. $status = Yii::$app->request->get('status', 0);
  12. $where = [];
  13. $where['oldId'] = $this->merchantId;
  14. if ($status != -1) {
  15. $where['status'] = $status;
  16. }
  17. $data = ApplyService::getApplyList($where);
  18. util::success($data);
  19. }
  20. }