feature/main20240421
guojia 10 months ago
parent 0b1acccc32
commit d01368e397
  1. 2
      app/api/controller/Square.php

@ -41,7 +41,7 @@ class Square extends Controller
if (!$content) {
return $this->renderError('内容不能为空');
}
$cate = intval($this->request->post('cate'));
$cate = $this->request->post('cate');
if (!$cate) {
return $this->renderError('分类不能为空');
}

Loading…
Cancel
Save