浏览代码

fix(lakala): update receiver status to binding during profit share setup

- Changed default status from BOUND to BINDING when creating profit share receivers
- Ensures proper state tracking during initial setup phase
- Aligns with expected workflow for receiver onboarding process
runphp 4 月之前
父节点
当前提交
87458fcf97
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Entity/ProfitShareReceiverEntity.php

+ 1 - 1
src/Entity/ProfitShareReceiverEntity.php

@@ -144,7 +144,7 @@ class ProfitShareReceiverEntity extends BaseEntity
             'entrustFileName' => $entity->entrust_file_name,
             'entrustFilePath' => $entity->entrust_file_path,
         ]);
-        $entity->status = ReceiverStatusEnum::BOUND;
+        $entity->status = ReceiverStatusEnum::BINDING;
         $entity->save();
         return $entity;
     }