|
|
@@ -14,6 +14,7 @@ import com.zbkj.common.page.CommonPage;
|
|
|
import com.zbkj.common.request.PageParamRequest;
|
|
|
import com.zbkj.common.response.*;
|
|
|
import com.zbkj.common.utils.CrmebUtil;
|
|
|
+import com.zbkj.common.utils.RedisUtil;
|
|
|
import com.zbkj.common.vo.MyRecord;
|
|
|
import com.zbkj.common.vo.SplashAdConfigVo;
|
|
|
import com.zbkj.common.vo.SplashAdDataVo;
|
|
|
@@ -68,6 +69,8 @@ public class IndexServiceImpl implements IndexService {
|
|
|
private UserMerchantCollectService userMerchantCollectService;
|
|
|
@Autowired
|
|
|
private GroupConfigService groupConfigService;
|
|
|
+ @Autowired
|
|
|
+ private RedisUtil redisUtil;
|
|
|
|
|
|
/**
|
|
|
* 首页数据
|
|
|
@@ -327,6 +330,12 @@ public class IndexServiceImpl implements IndexService {
|
|
|
response.setAuthorizeAddress(myRecord.getStr(SysConfigConstants.SHOPPING_AUTHORIZE_ADDRESS));
|
|
|
response.setAuthorizeInfo(myRecord.getStr(SysConfigConstants.SHOPPING_AUTHORIZE_INFO));
|
|
|
response.setAuthorizeFilingNum(myRecord.getStr(SysConfigConstants.SHOPPING_AUTHORIZE_FILING_NUM));
|
|
|
+
|
|
|
+ // 获取汇率
|
|
|
+ response.setDaibiRateLgnsUsd(redisUtil.get(SysConfigConstants.DAIBI_RATE_LGNS_USD));
|
|
|
+ response.setDaibiRateLgnsCny(redisUtil.get(SysConfigConstants.DAIBI_RATE_LGNS_CNY));
|
|
|
+ response.setDaibiRateUsdCny(redisUtil.get(SysConfigConstants.DAIBI_RATE_USD_CNY));
|
|
|
+
|
|
|
return response;
|
|
|
}
|
|
|
|