Commit 9c18ebe4 authored by zhuwei's avatar zhuwei

bug

parent 6a8e37a4
...@@ -68,8 +68,8 @@ class Square extends Basic ...@@ -68,8 +68,8 @@ class Square extends Basic
public function getSquareInfo(){ public function getSquareInfo(){
header('Access-Control-Allow-Origin:*'); header('Access-Control-Allow-Origin:*');
$params = $this->params; $params = $this->params;
if (!isset($params['id'])) { if (!isset($params['id'])) {
return $this->response("101", "参数不全"); return $this->response("101", "参数不全");
} }
......
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