19 lines
539 B
PHP
19 lines
539 B
PHP
<?php
|
|
namespace addon\store\event;
|
|
use addon\store\model\StoreAccount as Accounts;
|
|
class DivideMoneyAccounts
|
|
{
|
|
public function handle($param = [])
|
|
{
|
|
try {
|
|
if ($param['pay_type'] == 'zmxxpay' && isset($param['promotion_type']) && $param['promotion_type'] == 'cardservice') {
|
|
//排查周期付
|
|
return [];
|
|
} else {
|
|
return (new Accounts())->getOrderAccounts($param);
|
|
}
|
|
} catch (\Exception $e) {
|
|
return [];
|
|
}
|
|
}
|
|
} |