shish 2 years ago
parent
commit
658e7e78c5
1 changed files with 8 additions and 0 deletions
  1. 8 0
      app-ghs/controllers/PurchaseController.php

+ 8 - 0
app-ghs/controllers/PurchaseController.php

@@ -43,6 +43,14 @@ class PurchaseController extends BaseController
     //批量确认 ssh 20240518
     public function actionBatchConfirm()
     {
+        $post = Yii::$app->request->post();
+        $str = $post['id'] ?? 0;
+        if (empty($str)) {
+            util::fail('没有选择订单');
+        }
+        $arr = json_decode($str, true);
+        print_r($arr);
+        die;
         util::complete('确认成功');
     }