Commit 7b8b57aa authored by zw's avatar zw

bug

parent f983e0fe
......@@ -30,6 +30,7 @@ class Broker extends Basic
*/
public function index()
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
$data['status'] = 101;
$data['data'] = [];
......
......@@ -29,7 +29,6 @@ class Broker extends Basic
* @throws \think\exception\DbException
*/
public function getBroker() {
header('Access-Control-Allow-Origin:*');
$data['status'] = 200;
$data['data'] = '';
$data['code'] = '';
......
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