作者 zhaozzwei

更新 YuyueController.php

... ... @@ -95,7 +95,7 @@ class YuyueController extends UserBaseController
$rre = Db::name('commente')
->alias('c')
->join('qnb_user u', 'u.id = c.uid')
->where(['teach_id' => $id])
->where(['teach_id' => $id,'comment'=>['neq','']])
->field('c.*,u.user_nickname')
->select()
->toarray();
... ... @@ -220,7 +220,7 @@ class YuyueController extends UserBaseController
$rre = Db::name('commente')
->alias('c')
->join('qnb_user u', 'u.id = c.uid')
->where(['teach_id' => $id])
->where(['teach_id' => $id,'comment'=>['neq','']])
->field('c.*,u.user_nickname')
->select()
->toarray();
... ...