shish 1 год назад
Родитель
Сommit
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('没有找到客户');