订单查询

master
sunke 5 years ago
parent f15c6e68eb
commit 9844d5a740

@ -51,7 +51,7 @@ class QueryController extends BaseController
$rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select();
$childPromoteIds = ''; $childPromoteIds = '';
if(empty($rs)) { if(empty($rs)) {
$map['tab_user.promote_id'] = PID; $map['tab_spend.promote_id'] = PID;
}else { }else {
foreach ($rs as $rsKey => $rsValue) { foreach ($rs as $rsKey => $rsValue) {
$id = $rsValue['id']; $id = $rsValue['id'];

Loading…
Cancel
Save