From e03c6f0fa485073045da24bf4c1971fd0fc7a3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Thu, 13 Oct 2022 16:13:04 +0800 Subject: [PATCH] - update --- client.go | 4 ++-- const.go | 2 +- get.go | 2 +- set.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client.go b/client.go index c1009df..be54c64 100644 --- a/client.go +++ b/client.go @@ -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 { diff --git a/const.go b/const.go index bae380b..3970bc0 100644 --- a/const.go +++ b/const.go @@ -15,5 +15,5 @@ const ( const ( LogTable = "kashangwl" - Version = "1.0.30" + Version = "1.0.31" ) diff --git a/get.go b/get.go index 54d0efe..71b1e22 100644 --- a/get.go +++ b/get.go @@ -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 } diff --git a/set.go b/set.go index b4608b3..5e127f2 100644 --- a/set.go +++ b/set.go @@ -1,7 +1,7 @@ package kashangwl type SetConfigConfig struct { - CustomerId int // 商家编号 + CustomerId int64 // 商家编号 CustomerKey string // 商家密钥 }