|
@@ -101,7 +101,7 @@ class GoodsService extends BaseService
|
|
|
$locale = $locale ? $locale : session('locale_lang');
|
|
$locale = $locale ? $locale : session('locale_lang');
|
|
|
$locale = $locale ? $locale : 'zh-cn';
|
|
$locale = $locale ? $locale : 'zh-cn';
|
|
|
$supplyList = config('goods.supplyList');
|
|
$supplyList = config('goods.supplyList');
|
|
|
- $usdtPrice = RedisService::get("caches:wallet:usdt_rate");
|
|
|
|
|
|
|
+ $usdtPrice = RedisService::get("caches:wallets:usdt_rate");
|
|
|
if($usdtPrice<=0){
|
|
if($usdtPrice<=0){
|
|
|
$usdtCnyPrice = ConfigService::make()->getConfigByCode('usdt_cny_price', 7.2);
|
|
$usdtCnyPrice = ConfigService::make()->getConfigByCode('usdt_cny_price', 7.2);
|
|
|
$usdtPrice = $usdtCnyPrice>0 && $usdtCnyPrice< 100? $usdtCnyPrice : 0;
|
|
$usdtPrice = $usdtCnyPrice>0 && $usdtCnyPrice< 100? $usdtCnyPrice : 0;
|