Commit c51bccbb authored by clone's avatar clone

1

parent cba962eb
......@@ -281,7 +281,7 @@ class SquareService
public function addBComent($square_id,$comment,$agent_id, $agent_b, $agent_name)
public function addSquare($square_id,$comment,$agent_id, $agent_b, $agent_name)
{
$insert["square_id"] = $square_id;//文章id
$insert["comment"] = $comment;//评价内容
......
......@@ -30,7 +30,7 @@ class Square extends Basic
$params = $this->params;
$checkResult = $this->validate($params, "SquareValidate.create");
$checkResult = $this->validate($params, "SquareValidate.addSquare");
if (true !== $checkResult) {
return $this->response("101", $checkResult);
}
......@@ -104,7 +104,7 @@ class Square extends Basic
$params = $this->params;
$checkResult = $this->validate($params, "SquareValidate.create");
$checkResult = $this->validate($params, "SquareValidate.editSquare");
if (true !== $checkResult) {
return $this->response("101", $checkResult);
}
......
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