FSSysConfig.java 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.fs.common.config;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.stereotype.Component;
  5. /**
  6. * 读取项目相关配置
  7. *
  8. */
  9. @Component
  10. @Data
  11. @ConfigurationProperties(prefix = "fs-config")
  12. public class FSSysConfig
  13. {
  14. //快递鸟
  15. String kdnId;
  16. String kdnKeyId;
  17. String kdnUrl;
  18. String kdnSubscribeUrl;
  19. String kdnAddressUrl;
  20. //腾讯云IM
  21. Long sdkAppId;
  22. String sdkAppKey;
  23. //处方接口
  24. String prescribeUrl;
  25. String actId;
  26. String appId;
  27. String manuId;
  28. String accessKeyID;
  29. String accessKeySecret;
  30. String callbackUrl;
  31. //erp接口
  32. Integer erpOpen;//是否开启ERP
  33. String erpAppKey;
  34. String erpSessionKey;
  35. String erpSecret;
  36. String erpUrl;
  37. String erpShopCode;//店铺CODE
  38. //支付接口
  39. Integer payOpen;//是否开启
  40. String payPartnerId;
  41. String payKey;
  42. String payGateWayUrl;
  43. String payNotifyUrl;
  44. String refundNotifyUrl;
  45. }