只能看自己添加的链接

master
tping 3 years ago
parent d87388a902
commit 8dc2b86f03

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

Loading…
Cancel
Save