Merge branch 'hotfix/payment_merch_bug' of wmtx/platform into release

修改商户规则配置bug
master
万盟天下 4 years ago committed by Gogs
commit ae6fec3b48

@ -510,6 +510,11 @@ class PaymentMerchantController extends ThinkController
]);
}
foreach ($records as $key => $record) {
$records[$key]['company_belong'] = $record['company_id'] > 0 ? -1 : $record['company_belong'];
$records[$key]['game_type_id'] = $record['game_id'] > 0 ? 0 :$record['game_type_id'];
}
$ids = [];
$paymentRuleService = new PaymentRuleService();
foreach ($records as $record) {

Loading…
Cancel
Save