Merge pull request '优化充值查看' (#433) from feature/more_payment into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/433
master
廖金灵 3 years ago
commit 4c4a2c0b22

@ -1162,15 +1162,14 @@ class PlatformController extends ThinkController
if (!empty($_REQUEST['game_type'])) {
$map['s.sdk_version'] = $_REQUEST['game_type'];
}
if (isMarketAdmin()) {
$map['s.market_admin_id'] = is_login();
} else if (!empty($_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");
$data = SM('promote', 'tab_')->alias('tp1')
@ -1184,6 +1183,7 @@ class PlatformController extends ThinkController
->order('count desc')
->select();
//今日/本周/本月不变
$tmap = $map;
if(isset($map['pay_time'])){

Loading…
Cancel
Save