修改商户规则配置bug
@ -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) {