From a6dc7ca7d836bcefa1e2e189d3391086e0f4fd08 Mon Sep 17 00:00:00 2001 From: lqmac Date: Wed, 29 May 2024 23:47:53 +0800 Subject: [PATCH] 1 --- app/common/model/dealer/Setting.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/common/model/dealer/Setting.php b/app/common/model/dealer/Setting.php index d07ce66f..25271b91 100644 --- a/app/common/model/dealer/Setting.php +++ b/app/common/model/dealer/Setting.php @@ -151,9 +151,9 @@ class Setting extends BaseModel 'describe' => '基础设置', 'values' => [ // 是否开启分销功能 - 'is_open' => 0, // 参数值:1开启 0关闭 + 'is_open' => 1, // 参数值:1开启 0关闭 // 分销层级 - 'level' => 3, // 参数值:1一级 2二级 3三级 + 'level' => 1, // 参数值:1一级 2二级 3三级 // 分销商内购 'self_buy' => 0 // 参数值:1开启 0关闭 ], @@ -163,7 +163,7 @@ class Setting extends BaseModel 'describe' => '分销商条件', 'values' => [ // 成为分销商条件 - 'become' => ApplyTypeEnum::AUDIT, // 参数值:10填写申请信息(需后台审核) 20填写申请信息(无需审核) + 'become' => 20,//ApplyTypeEnum::AUDIT, // 参数值:10填写申请信息(需后台审核) 20填写申请信息(无需审核) // 购买指定商品成为分销商 0关闭 1开启 'becomeBuyGoods' => 0, // 购买指定商品的id集