| 1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace ghs\controllers;
- use bizGhs\clear\classes\ClearClass;
- use bizGhs\clear\services\ClearService;
- use common\components\stringUtil;
- use common\components\util;
- use Yii;
- class ClearController extends BaseController
- {
- //结款单 shish 20210625
- public function actionList()
- {
- $get = Yii::$app->request->get();
- $where = ['sjId' => $this->sjId, 'shopId' => $this->shopId];
- if (isset($get['customId'])) {
- $where['customId'] = $get['customId'];
- }
- $where['status'] = 2;
- $list = ClearService::getClearList($where);
- util::success($list);
- }
- //获取基本信息 shish 20210625
- public function actionGetFullInfo()
- {
- $id = Yii::$app->request->get('id');
- $respond = ClearClass::getFullInfo($id);
- util::success($respond);
- }
- }
|