提交代码

dev-discount
胡锐 3 years ago
parent 2ec4e5ef28
commit 5d25009fa7
  1. 4
      hai-cweb/src/main/java/com/cweb/controller/HighGasController.java
  2. 11
      hai-service/src/main/java/com/hai/config/CommonSysConfig.java
  3. 1
      hai-service/src/main/resources/dev/commonConfig.properties
  4. 2
      hai-service/src/main/resources/pre/commonConfig.properties
  5. 2
      hai-service/src/main/resources/prod-9401/commonConfig.properties
  6. 2
      hai-service/src/main/resources/prod/commonConfig.properties

@ -227,8 +227,8 @@ public class HighGasController {
param.put("gasId", store.getStoreKey());
param.put("gasName", store.getStoreName());
param.put("gasAddress", store.getAddress());
param.put("gasLogoBig", store.getStoreLogo());
param.put("gasLogoSmall", store.getStoreLogo());
param.put("gasLogoBig", CommonSysConst.getSysConfig().getHsgDomainName()+"/filesystem/"+store.getStoreLogo());
param.put("gasLogoSmall", CommonSysConst.getSysConfig().getHsgDomainName()+"/filesystem/"+store.getStoreLogo());
param.put("gasAddressLatitude", store.getLatitude());
param.put("gasAddressLongitude", store.getLatitude());
// 距离

@ -9,6 +9,9 @@ import org.springframework.stereotype.Component;
@PropertySource("classpath:/commonConfig.properties")
public class CommonSysConfig {
// 嗨森逛域名
private String hsgDomainName;
private String tuanYouUrl;
private String tuanYouAppKey;
private String tuanYouAppSecret;
@ -425,4 +428,12 @@ public class CommonSysConfig {
public void setCzAppSecret(String czAppSecret) {
CzAppSecret = czAppSecret;
}
public String getHsgDomainName() {
return hsgDomainName;
}
public void setHsgDomainName(String hsgDomainName) {
this.hsgDomainName = hsgDomainName;
}
}

@ -1,3 +1,4 @@
hsgDomainName=https://hsgcs.dctpay.com
# ????
tuanYouUrl=https://test05-motorcade-hcs.czb365.com
tuanYouAppKey=231599775566496

@ -1,3 +1,5 @@
hsgDomainName=https://hsgcs.dctpay.com
tuanYouUrl=https://hcs.czb365.com
tuanYouAppKey=210091174083104
tuanYouAppSecret=f9811df6791d309bf48f4a8db9edaa45

@ -1,3 +1,5 @@
hsgDomainName=https://hsg.dctpay.com
tuanYouUrl=https://hcs.czb365.com
tuanYouAppKey=210091174083104
tuanYouAppSecret=f9811df6791d309bf48f4a8db9edaa45

@ -1,3 +1,5 @@
hsgDomainName=https://hsg.dctpay.com
tuanYouUrl=https://hcs.czb365.com
tuanYouAppKey=210091174083104
tuanYouAppSecret=f9811df6791d309bf48f4a8db9edaa45

Loading…
Cancel
Save