优化充值查看

master
chenzhi 3 years ago
parent 5bef7fb351
commit 5224094042

@ -1162,15 +1162,14 @@ class PlatformController extends ThinkController
if (!empty($_REQUEST['game_type'])) { if (!empty($_REQUEST['game_type'])) {
$map['s.sdk_version'] = $_REQUEST['game_type']; $map['s.sdk_version'] = $_REQUEST['game_type'];
} }
if (isMarketAdmin()) { if (isMarketAdmin()) {
$map['s.market_admin_id'] = is_login(); $map['s.market_admin_id'] = is_login();
} else if (!empty($_REQUEST['admin_id'])) { } else if (!empty($_REQUEST['admin_id'])) {
$map['s.market_admin_id'] = $_REQUEST['admin_id']; $map['s.market_admin_id'] = $_REQUEST['admin_id'];
} else { }
//为数据权限添加 setPowerPromoteIds($map, 'tp1.id');
setPowerPromoteIds($map, 'tp1.id');
}
D("Spend")->addSubsiteWhere($map,"s"); D("Spend")->addSubsiteWhere($map,"s");
$data = SM('promote', 'tab_')->alias('tp1') $data = SM('promote', 'tab_')->alias('tp1')
@ -1184,6 +1183,7 @@ class PlatformController extends ThinkController
->order('count desc') ->order('count desc')
->select(); ->select();
//今日/本周/本月不变 //今日/本周/本月不变
$tmap = $map; $tmap = $map;
if(isset($map['pay_time'])){ if(isset($map['pay_time'])){

Loading…
Cancel
Save