数据采集
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
720 B

  1. package enum
  2. type SysCfg string
  3. const (
  4. WxMchApiV3Key = "wx_mch_api_v3_key"
  5. WxMchCertificateSerialNumber = "wx_mch_certificate_serial_number"
  6. WxMchId = "wx_mch_id"
  7. WxOfficialAccountAppId = "wx_official_account_app_id"
  8. WxOfficialAccountAppSecret = "wx_official_account_app_secret"
  9. )
  10. func (gt SysCfg) String() string {
  11. switch gt {
  12. case WxMchApiV3Key:
  13. return "微信商户APIv3密钥"
  14. case WxMchCertificateSerialNumber:
  15. return "微信商户证书序列号"
  16. case WxMchId:
  17. return "微信商户号"
  18. case WxOfficialAccountAppId:
  19. return "微信公众号appId"
  20. case WxOfficialAccountAppSecret:
  21. return "微信公众号appSecret"
  22. default:
  23. return "未知"
  24. }
  25. }