作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

bug修改

... ... @@ -129,7 +129,7 @@ class Almighty extends Api
*/
public function questionInfo()
{
$user_id = $this->auth->id;
$user_id = $this->auth->id ? $this->auth->id : 0;
$question_id = $this->request->param('question_id');
empty($question_id) && $this->error('缺少必要参数');
$info = Question::alias('q')
... ...