| 123456789101112131415161718192021222324252627282930 |
- <?php
- //退款退货
- namespace ghs\controllers;
- use Yii;
- use bizGhs\order\classes\RefundOrderClass;
- use common\components\util;
- use bizGhs\product\classes\ProductClass;
- class RefundController extends BaseController
- {
- //列表
- public function actionList()
- {
- $get = Yii::$app->request->get();
- $where = [];
- $where['shopId'] = $this->shopId;
- $list = RefundOrderClass::getOrderList($where);
- util::success($list);
- }
- public function actionDetail()
- {
- $orderSn = Yii::$app->request->get('orderSn', '');
- $orderData = RefundOrderClass::getOrderDetailByRelateOrder($orderSn, $this->shopId);
- util::success($orderData);
- }
- }
|