master v1.0.31
李光春 2 years ago
parent 38f4b1f9a0
commit e03c6f0fa4

@ -7,7 +7,7 @@ import (
// ClientConfig 实例配置
type ClientConfig struct {
CustomerId int // 商家编号
CustomerId int64 // 商家编号
CustomerKey string // 商家密钥
}
@ -15,7 +15,7 @@ type ClientConfig struct {
type Client struct {
requestClient *gorequest.App // 请求服务
config struct {
customerId int // 商家编号
customerId int64 // 商家编号
customerKey string // 商家密钥
}
log struct {

@ -15,5 +15,5 @@ const (
const (
LogTable = "kashangwl"
Version = "1.0.30"
Version = "1.0.31"
)

@ -2,7 +2,7 @@ package kashangwl
import "go.dtapp.net/golog"
func (c *Client) GetCustomerId() int {
func (c *Client) GetCustomerId() int64 {
return c.config.customerId
}

@ -1,7 +1,7 @@
package kashangwl
type SetConfigConfig struct {
CustomerId int // 商家编号
CustomerId int64 // 商家编号
CustomerKey string // 商家密钥
}

Loading…
Cancel
Save