diff --git a/config.go b/config.go index cf8dfe3..cd8a782 100644 --- a/config.go +++ b/config.go @@ -2,6 +2,6 @@ package dingtalk func (c *Client) Config(secret, accessToken string) *Client { c.config.secret = secret - c.config.secret = accessToken + c.config.accessToken = accessToken return c } diff --git a/const.go b/const.go index b93e5dd..e4226b4 100644 --- a/const.go +++ b/const.go @@ -6,5 +6,5 @@ const ( const ( LogTable = "dingtalk" - Version = "1.0.13" + Version = "1.0.14" )