ソースを参照

feat(admin): 添加分红积分基准价格设置并进行有效性验证

- 在系统配置中添加"award_integral_price"字段,用于设置分红积分基准价格
- 添加对分红积分基准价格的验证,确保其值大于 0
- 优化了代码格式,调整了数组元素的缩进
kirin 5 ヶ月 前
コミット
df0f460c43
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/command/Test.php

+ 1 - 1
app/command/Test.php

@@ -45,6 +45,6 @@ class Test extends Command
     protected function execute(Input $input, Output $output)
     {
         $price = app()->make(AwardIntegralPriceRepository::class)->awardIntegralPrice();
-        $output->info(json_encode($price));
+        var_dump($price);
     }
 }