feat: wecom tag create items

This commit is contained in:
zzw
2026-09-14 18:05:33 +08:00
parent 21b614b062
commit 553e93b16c
22 changed files with 922 additions and 140 deletions
+20
View File
@@ -0,0 +1,20 @@
package auth
type Client struct {
CorpId string
CorpSecret string
}
type tokenResponse struct {
ErrCode int `json:"errcode"`
ErrMsg string `json:"errmsg"`
AccessToken string `json:"access_token"`
ExpiresIn int `json:"expires_in"`
}
func NewClient(corpId, corpSecret string) *Client {
return &Client{
CorpId: corpId,
CorpSecret: corpSecret,
}
}