Browse Source

售后记录列表

shish 2 years ago
parent
commit
53554d2b68
1 changed files with 15 additions and 1 deletions
  1. 15 1
      app-ghs/controllers/CgRefundController.php

+ 15 - 1
app-ghs/controllers/CgRefundController.php

@@ -32,7 +32,7 @@ class CgRefundController extends BaseController
         util::success(['info' => $refund, 'itemList' => $itemList]);
     }
 
-    //记录 ssh 20220910
+    //记录,有重复方法,需要同步修改cg_refund_list ssh 20240817
     public function actionGetRefundList()
     {
         $get = Yii::$app->request->get();
@@ -46,6 +46,20 @@ class CgRefundController extends BaseController
         util::success($list);
     }
 
+    //记录,有重复方法,需要同步修改cg_refund_list ssh 20240817
+    public function actionList()
+    {
+        $get = Yii::$app->request->get();
+        $where = [];
+        $where['mainId'] = $this->mainId;
+        $relateOrderSn = $get['relateOrderSn'] ?? '';
+        if (!empty($relateOrderSn)) {
+            $where['relateOrderSn'] = $relateOrderSn;
+        }
+        $list = CgRefundClass::getRefundList($where);
+        util::success($list);
+    }
+
     //退款 ssh 20220909
     public function actionCreateOrder()
     {