Ver Fonte

退款任务

whitefang há 1 ano atrás
pai
commit
3e188dfdae
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      app/common/command/QueryRefund.php

+ 3 - 2
app/common/command/QueryRefund.php

@@ -210,10 +210,11 @@ class QueryRefund extends Command
                     $propertyHeadId = $propertyHeadInfo['id'];
                     // 出账记录 - 扣除
                     PropertySurplusLog::create([
-                        'in_out' => 3,
+                        'in_out' => 2,
                         'property_head_id' => $propertyHeadId,
                         'amount' => $property_commission['commission_amount'],
-                        'status' => 1
+                        'status' => 1,
+                        'remark'=> '用户已退款,分成金额已退回'
                     ]);
                     // 更新 物业负责人余额收益
                     PropertyHead::where(['id' => $propertyHeadId])->update([