Merge pull request '只能看自己添加的链接' (#534) from feature/qrcode_promotion into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/534
master
廖金灵 3 years ago
commit c1510c0ab7

@ -283,7 +283,7 @@ class QrCodePromotionController extends BaseController
public function linkLists()
{
$this->getShortUrl('https://mg.wmtxkj.com');
$loginer = $this->getLoginPromote();
$page = I('p', 1);
$row = I('row', 10);
$qpId = I('get.id', 0);
@ -294,7 +294,8 @@ class QrCodePromotionController extends BaseController
])->find();
$query = M('qrcode_promotion_list', 'tab_')->where([
'qp_id' => I('get.id')
'qp_id' => I('get.id'),
'admin_id' => $loginer['id']
])->order('create_time desc');
[$items, $page, $count] = $this->paginate($query);

Loading…
Cancel
Save