diff --git a/enum/sys_cfg.go b/enum/sys_cfg.go index 7f16223..94bfd71 100644 --- a/enum/sys_cfg.go +++ b/enum/sys_cfg.go @@ -78,16 +78,28 @@ func (gt AliyunOss) String() string { type AlipayConfig string const ( - AlipayAppId = "alipay_app_id" - AlipayPrivateKey = "alipay_private_key" + AlipayAppId = "alipay_app_id" + AlipayPrivateKey = "alipay_private_key" + AlipayPublicKey = "alipay_public_key" + AlipayPublicContentRSA2 = "alipay_public_content_rsa2" + AlipayRootContent = "alipay_root_content" + AppPublicContent = "alipay_public_content" ) func (gt AlipayConfig) String() string { switch gt { case AlipayAppId: - return "" + return "支付宝商家应用appid" case AlipayPrivateKey: - return "oss存储桶名称" + return "支付宝商家应用私钥" + case AlipayPublicKey: + return "支付宝商家应用公钥" + case AlipayPublicContentRSA2: + return "支付宝公钥证书" + case AlipayRootContent: + return "支付宝根证书" + case AppPublicContent: + return "应用公钥证书" default: return "未知" }