修改唯品尚配置命名

This commit is contained in:
lzh
2025-05-28 15:23:14 +08:00
parent 20a3b65f01
commit b535467e6f
3 changed files with 7 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ const (
)
// Config 客户端配置
type Config struct {
type WpsConfig struct {
ChannelType string
Key string
BaseURL string
@@ -48,7 +48,7 @@ type WeiPinShangClient struct {
}
// NewWeiPinShangClient 创建客户端
func NewWeiPinShangClient(cfg Config) *WeiPinShangClient {
func NewWeiPinShangClient(cfg WpsConfig) *WeiPinShangClient {
if cfg.ChannelType == "" {
cfg.ChannelType = "AILEHUI"
}