From cbff0327e25881994fb3a45e9aa0bbe96a61eaac Mon Sep 17 00:00:00 2001 From: dengbiao Date: Thu, 28 Nov 2024 15:19:33 +0800 Subject: [PATCH] update --- enum/sys_cfg.go | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) 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 "未知" }