Merge branch 'hotfix/test_resource_new' of wmtx/platform into master

修改bug
master
廖金灵 4 years ago committed by Gogs
commit 747dc7394c

@ -430,7 +430,7 @@ class TestingResourceController extends BaseController
$totalQuota = $role['testing_other_quota'] + ($this->gameBaseQuota[$role['game_id']] ?? 0);
if (!is_null($bindRole)) {
$totalQuota += M('spend', 'tab_')
->where(['game_id' => $role['game_id'], 'game_player_id' => $bindRole['role_id']])
->where(['game_id' => $role['game_id'], 'game_player_id' => $bindRole['role_id'], 'pay_status' => 1])
->group('game_id,game_player_id')
->sum('pay_amount');
}

Loading…
Cancel
Save