Compare commits

...

3 Commits

@ -12,14 +12,11 @@ type ApiProductCacheResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data struct {
GoodsId string `json:"goods_id"`
ApiGoodsId int64 `json:"api_goods_id"`
GoodsName string `json:"goods_name"`
ClassificationName string `json:"classification_name"`
GoodsPrice float64 `json:"goods_price"`
GoodsStatus string `json:"goods_status"`
GoodsStatusDesc string `json:"goods_status_desc"`
PurchaseTips string `json:"purchase_tips"`
GoodsId uint `json:"goods_id"`
ApiGoodsId int64 `json:"api_goods_id"`
GoodsName string `json:"goods_name"`
GoodsPrice float64 `json:"goods_price"`
PurchaseTips string `json:"purchase_tips"`
} `json:"data"`
Time int `json:"time"`
TraceId string `json:"trace_id"`

@ -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.29"
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