Quellcode durchsuchen

fix:合在一起

super-yimizi vor 1 Monat
Ursprung
Commit
3aa4b215d0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      application/api/controller/Share.php

+ 1 - 1
application/api/controller/Share.php

@@ -15,7 +15,7 @@ class Share extends Base
 
     public function add()
     {
-        $params = $this->request->only(['shareId', 'spm', 'page', 'query', 'from', 'platform']);
+        $params = $this->request->post(['shareId', 'spm', 'page', 'query', 'from', 'platform']);
 
         // 验证参数
         $validate = new ShareValidate();