Commit d221d2f3 authored by zhuwei's avatar zhuwei

bug

parent 10020857
...@@ -144,12 +144,8 @@ class Square extends Basic ...@@ -144,12 +144,8 @@ class Square extends Basic
return $this->response("101", "参数不全"); return $this->response("101", "参数不全");
} }
$res= $this->s_square->editCommenSort($params); $this->s_square->editCommenSort($params);
if ($res) {
return $this->response("200", "成功"); return $this->response("200", "成功");
} else {
return $this->response("101", "失败");
}
} }
public function delSquare() public function delSquare()
......
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