...
|
...
|
@@ -78,8 +78,8 @@ class PrizeController extends WeChatBaseController |
|
|
$comment=Db::name('comment')
|
|
|
->alias('c')
|
|
|
->join('users u','c.users_id=u.id')
|
|
|
->join('brand b','c.cid=b.id')
|
|
|
->where(['b.id'=>$id,'c.status'=>3])
|
|
|
->join('prize p','c.cid=p.id')
|
|
|
->where(['p.id'=>$id,'c.status'=>3])
|
|
|
->field('c.*,u.*')
|
|
|
->select();
|
|
|
$this->assign('comment',$comment);
|
...
|
...
|
|