shish 1 年間 前
コミット
a5e4c9e5f9
1 ファイル変更3 行追加3 行削除
  1. 3 3
      app-ghs/controllers/LiveOrderController.php

+ 3 - 3
app-ghs/controllers/LiveOrderController.php

@@ -155,9 +155,9 @@ class LiveOrderController extends BaseController
     //删除客户 ssh 20241005
     public function actionDelCustom()
     {
-        $post = Yii::$app->request->post();
-        $id = $post['id'] ?? 0;
-        $customId = $post['customId'] ?? 0;
+        $get= Yii::$app->request->get();
+        $id = $get['id'] ?? 0;
+        $customId = $get['customId'] ?? 0;
         $custom = CustomClass::getById($customId, true);
         if (empty($custom)) {
             util::fail('没有找到客户');