@@ -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();