...
|
...
|
@@ -189,11 +189,12 @@ class CommentController extends UserBaseController |
|
|
$yuyue_data = Db::name('yuyue')
|
|
|
->alias('yy')
|
|
|
->join('qnb_user qu','qu.id = yy .uid')
|
|
|
->join('order o','o.uid=yy.uid')
|
|
|
->join('goods g','g.id=o.gid')
|
|
|
->join('order o','o.uid=yy.uid','LEFT')
|
|
|
->join('goods g','g.id=o.gid','LEFT')
|
|
|
->field('yy.*,qu.user_nickname,qu.mobile,qu.headimgurl,g.name as gname')
|
|
|
->where(['yy.id'=>$id])
|
|
|
->find();
|
|
|
//dump($yuyue_data);
|
|
|
|
|
|
$cdata = Db::name('commente1')
|
|
|
->alias('yy')
|
...
|
...
|
|