|
|
@@ -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];
|