Przeglądaj źródła

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

- 在系统配置中添加"award_integral_price"字段,用于设置分红积分基准价格
- 添加对分红积分基准价格的验证,确保其值大于 0
- 优化了代码格式,调整了数组元素的缩进
kirin 5 miesięcy temu
rodzic
commit
8d51745401
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/common/dao/user/AwardIntegralPriceDao.php

+ 1 - 1
app/common/dao/user/AwardIntegralPriceDao.php

@@ -39,7 +39,7 @@ class AwardIntegralPriceDao extends BaseDao
 
     public function search($where)
     {
-        return $this->getModel()->where($where);
+        return $this->getModel()::getDB()->where($where);
     }
 
 }