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.
kashangwl/set.go

14 lines
302 B

2 years ago
package kashangwl
type SetConfigConfig struct {
2 years ago
CustomerId int64 // 商家编号
2 years ago
CustomerKey string // 商家密钥
}
// SetConfig 配置
func (c *Client) SetConfig(config *SetConfigConfig) *Client {
2 years ago
c.config.customerId = config.CustomerId
c.config.customerKey = config.CustomerKey
2 years ago
return c
}