wesmiler 1 주 전
부모
커밋
c44c190502
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Services/Api/PriceService.php

+ 1 - 0
app/Services/Api/PriceService.php

@@ -206,6 +206,7 @@ class PriceService extends BaseService
 
                     $data['id'] = $logId;
                     RedisService::set($cacheKey, $data, 600);
+                    RedisService::clear("caches:prices:today_price_{$type}");
                     RedisService::clear("caches:prices:data_{$type}_{$date}");
                     $this->error = '更新资产价格成功';
                     return ['date'=>$date,'price'=>$price,'pool_total'=>$poolTotal,'property'=>$todayPropertyTotal];