...
|
...
|
@@ -510,7 +510,7 @@ class Almighty extends Api |
|
|
$question_list = Question::alias('q')
|
|
|
->join('mobile_question_answer qa','q.id = qa.question_id and user_id='.$this->auth->id,'left')
|
|
|
->where('qa.is_wrong','1')
|
|
|
->field('q.id,q.target_type,q.target_id,q.type')
|
|
|
->field('q.id,q.target_type,if(q.target_type=1,0,q.target_id) target_id,q.type')
|
|
|
->select();
|
|
|
$list = [];
|
|
|
foreach ($question_list as $v) {
|
...
|
...
|
|