|
@@ -14,8 +14,8 @@ class PropertyCommissionListener
|
|
|
public function handle($params)
|
|
public function handle($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- if (empty($params['user_id']) || empty($params['sn'])) {
|
|
|
|
|
- throw new \Exception('用户订单号不能为空');
|
|
|
|
|
|
|
+ if (empty($params['id'])) {
|
|
|
|
|
+ throw new \Exception('工单id不能为空');
|
|
|
}
|
|
}
|
|
|
$result = PropertyCommissionLogic::commissionSurplus($params);
|
|
$result = PropertyCommissionLogic::commissionSurplus($params);
|
|
|
if (false === $result) {
|
|
if (false === $result) {
|