|
|
@@ -51,10 +51,7 @@ class ProfitShareOrderController
|
|
|
if ($entity->isEmpty()) {
|
|
|
throw_logic_exception('订单不存在或状态异常');
|
|
|
}
|
|
|
- $balance = $laepIndustryService->ewalletBalanceQuery([
|
|
|
- 'merchantNo' => $entity->merchant_no,
|
|
|
- 'payType' => '03',
|
|
|
- ]);
|
|
|
+ $balance = $laepIndustryService->ewalletBalanceQuery(merchantNo: $entity->merchant_no,payType: '03');
|
|
|
if ($balance->acctSt != 'NORMAL') {
|
|
|
throw_logic_exception(match ($balance->acctSt){
|
|
|
'CLOSE' => '商户已经销户',
|