...
|
...
|
@@ -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')
|
...
|
...
|
|