Browse Source

update

master
dengbiao 1 day ago
parent
commit
143b644769
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      enum/sys_cfg.go

+ 10
- 1
enum/sys_cfg.go View File

@@ -120,13 +120,22 @@ func (gt AlipayConfig) String() string {
type WxConfig string

const (
WxAppId = "wx_app_id"
WxAppId = "wx_app_id"
WxMchId = "wx_mch_id"
WxMchApiV3Key = "wx_mch_api_v3_key"
WxMchCertificateSerialNumber = "wx_mch_certificate_serial_number"
)

func (gt WxConfig) String() string {
switch gt {
case WxAppId:
return "微信应用appid"
case WxMchId:
return "微信商户号"
case WxMchApiV3Key:
return "微信商户证书序列号"
case WxMchCertificateSerialNumber:
return "微信商户APIv3密钥"
default:
return "未知"
}


Loading…
Cancel
Save