Ver código fonte

feat(profit-share): 添加分润接收者软删除功能并优化页面加载逻辑- 在 ProfitShareReceiverModel 中引入 SoftDelete 特性以支持软删除
- 将 receiver-list.vue 页面的 onLoad 钩子改为 onShow 以优化数据加载时机

runphp 4 meses atrás
pai
commit
63df6e49a7
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      src/Model/ProfitShareReceiverModel.php

+ 2 - 0
src/Model/ProfitShareReceiverModel.php

@@ -6,9 +6,11 @@ use SixShop\Lakala\Enum\ReceiverStatusEnum;
 use SixShop\Payment\Enum\NumberBizEnum;
 use think\db\Query;
 use think\Model;
+use think\model\concern\SoftDelete;
 
 class ProfitShareReceiverModel extends Model
 {
+    use SoftDelete;
     protected function getOptions(): array
     {
         return [