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

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