Commit c92c477b authored by hujun's avatar hujun

跨域

parent 54afdd76
......@@ -19,6 +19,7 @@ class News extends Basic
public function __construct(Request $request = null)
{
header('Access-Control-Allow-Origin:*');
parent::__construct($request);
$this->m_news = new SNews();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment