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.
14 lines
302 B
14 lines
302 B
2 years ago
|
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
|
||
|
}
|