提交代码

dev-discount
胡锐 2 years ago
parent fb342ad750
commit 44e3361d27
  1. 1
      hai-service/src/main/java/com/hai/config/CommonSysConfig.java
  2. 8
      hai-service/src/main/java/com/hai/service/impl/HighGasServiceImpl.java
  3. 1
      hai-service/src/main/resources/prod/commonConfig.properties

@ -16,6 +16,7 @@ public class CommonSysConfig {
// 加油站默认图片 // 加油站默认图片
private String gasDefaultOilStationImg; private String gasDefaultOilStationImg;
private String gasDefaultOilStationImg2;
// 重庆中石油 // 重庆中石油
private String ChongQingCnpcUrl; // 请求地址 private String ChongQingCnpcUrl; // 请求地址

@ -80,7 +80,7 @@ public class HighGasServiceImpl implements HighGasService {
store.setCompanyId(merchant.getCompanyId()); store.setCompanyId(merchant.getCompanyId());
store.setStoreKey(station.getString("stationCode")); store.setStoreKey(station.getString("stationCode"));
store.setStoreName(station.getString("stationName")); store.setStoreName(station.getString("stationName"));
store.setStoreLogo(CommonSysConst.getSysConfig().getGasDefaultOilStationImg()); store.setStoreLogo(CommonSysConst.getSysConfig().getGasDefaultOilStationImg2());
store.setRegionId(station.getLong("provinceId")); store.setRegionId(station.getLong("provinceId"));
store.setRegionName(station.getString("provinceName")); store.setRegionName(station.getString("provinceName"));
store.setAddress(station.getString("stationAddress")); store.setAddress(station.getString("stationAddress"));
@ -186,7 +186,7 @@ public class HighGasServiceImpl implements HighGasService {
store.setCompanyId(merchant.getCompanyId()); store.setCompanyId(merchant.getCompanyId());
store.setStoreKey(station.getString("stationCode")); store.setStoreKey(station.getString("stationCode"));
store.setStoreName(station.getString("stationName")); store.setStoreName(station.getString("stationName"));
store.setStoreLogo(CommonSysConst.getSysConfig().getGasDefaultOilStationImg()); store.setStoreLogo(CommonSysConst.getSysConfig().getGasDefaultOilStationImg2());
store.setRegionId(station.getLong("provinceId")); store.setRegionId(station.getLong("provinceId"));
store.setRegionName(station.getString("provinceName")); store.setRegionName(station.getString("provinceName"));
store.setAddress(station.getString("stationAddress")); store.setAddress(station.getString("stationAddress"));
@ -279,7 +279,7 @@ public class HighGasServiceImpl implements HighGasService {
store.setCompanyId(merchant.getCompanyId()); store.setCompanyId(merchant.getCompanyId());
store.setStoreKey(station.getString("stationCode")); store.setStoreKey(station.getString("stationCode"));
store.setStoreName(station.getString("stationName")); store.setStoreName(station.getString("stationName"));
store.setStoreLogo(CommonSysConst.getSysConfig().getGasDefaultOilStationImg()); store.setStoreLogo(CommonSysConst.getSysConfig().getGasDefaultOilStationImg2());
store.setRegionId(station.getLong("provinceId")); store.setRegionId(station.getLong("provinceId"));
store.setRegionName(station.getString("provinceName")); store.setRegionName(station.getString("provinceName"));
store.setAddress(station.getString("stationAddress")); store.setAddress(station.getString("stationAddress"));
@ -389,7 +389,7 @@ public class HighGasServiceImpl implements HighGasService {
store.setCompanyId(merchant.getCompanyId()); store.setCompanyId(merchant.getCompanyId());
store.setStoreKey(station.getString("stationCode")); store.setStoreKey(station.getString("stationCode"));
store.setStoreName(station.getString("stationName")); store.setStoreName(station.getString("stationName"));
store.setStoreLogo(CommonSysConst.getSysConfig().getGasDefaultOilStationImg()); store.setStoreLogo(CommonSysConst.getSysConfig().getGasDefaultOilStationImg2());
store.setRegionId(station.getLong("provinceId")); store.setRegionId(station.getLong("provinceId"));
store.setRegionName(station.getString("provinceName")); store.setRegionName(station.getString("provinceName"));
store.setAddress(station.getString("stationAddress")); store.setAddress(station.getString("stationAddress"));

@ -1,5 +1,6 @@
hsgDomainName=https://hsg.dctpay.com hsgDomainName=https://hsg.dctpay.com
gasDefaultOilStationImg=https://hsg.dctpay.com/filesystem/default/default_oil_station.jpg gasDefaultOilStationImg=https://hsg.dctpay.com/filesystem/default/default_oil_station.jpg
gasDefaultOilStationImg2=https://hsg.dctpay.com/filesystem/default/default_oil_station2.jpg
# ChongQingCNPC configuration parameters # ChongQingCNPC configuration parameters
ChongQingCnpcUrl=http://cqpingan.wisdomyt.cn/d/cross/api ChongQingCnpcUrl=http://cqpingan.wisdomyt.cn/d/cross/api

Loading…
Cancel
Save