| 1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace addons\HuijuBill\backend\controllers;
- use addons\HuijuBill\common\service\BillService;
- use Yii;
- use common\controllers\AddonsController;
- /**
- * 分账
- *
- * Class BillController
- * @package addons\HuijuBill\backend\controllers
- */
- class BillController extends BaseController
- {
- /**
- * 首页
- *
- * @return void
- */
- public function actionList()
- {
- if ($this->request->isAjax) {
- $params = $this->request->getQueryParams();
- $service = new BillService(['mall_id' => $this->mall_id]);
- $data = $service->getBillList($params);
- return $this->success('ok', $data);
- }
- return $this->render('list');
- }
- }
|