Commit bc4d5131 authored by clone's avatar clone Committed by hujun

bug

parent 955445f5
......@@ -111,7 +111,7 @@ class Banner extends Basic
$params["is_show"] = $_POST["is_show"];
}
if (empty($params["title"]) || empty($params["type"]) || empty($params["url"]) || empty($params["cover_image"]) || empty($params["sort"])) {
if (empty($params["title"]) || empty($params["cover_image"]) || empty($params["sort"])) {
return $this->response("101", "请提交正确的请求参数");
}
if (isset($params['id'])) {
......
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