WIN-2308041133\Administrator 4 months ago
parent
commit
d3339e459e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/common/repositories/user/AwardIntegralPriceRepository.php

+ 1 - 1
app/common/repositories/user/AwardIntegralPriceRepository.php

@@ -85,7 +85,7 @@ class AwardIntegralPriceRepository extends BaseRepository
                 /** @var AwardIntegralPriceDayDao $AwardIntegralPriceDayDao */
                 $AwardIntegralPriceDayDao = app()->make(AwardIntegralPriceDayDao::class);
 
-                $AwardIntegralPriceDayDao->create(['day' => strtotime('-25 day'), 'price' => $rise, 'add_price' => $day_25_rise]);  //保存今天增长的总价格和每日增长价格
+                $AwardIntegralPriceDayDao->create(['day' => strtotime('-25 day'), 'all_add_price' => $rise, 'day_add_price' => $day_25_rise]);  //保存今天增长的总价格和每日增长价格
                 $day_25 = strtotime('-25 day');
                 $add_price = $AwardIntegralPriceDayDao->search(['day' => $day_25])->sum('day_add_price');
             @file_put_contents('quanju4.txt', $add_price . "-789\r\n", 8);