实现贡献者投稿无需审核
网站根目录 /var/Widget/Contents/Post/Edit.php
找到 protected function publish(array $contents)
将 if ($this->user->pass('editor', true))
修改为 if ($this->user->pass('contributor', true))
网站根目录 /var/Widget/Contents/Post/Edit.php
找到 protected function publish(array $contents)
将 if ($this->user->pass('editor', true))
修改为 if ($this->user->pass('contributor', true))
评论