feat: Add Checkin (#719)

* feat: Add Checkin

- Implement 'getcheckindata' API

* refactor: Change variable names

* refactor: Change struct name
This commit is contained in:
Feng authored and GitHub committed 2023-09-24 10:43:41 +08:00
1 parent 4a2c44c7c8
commit b4f2d1793c
3 files changed
+92

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
package checkin
import (
"github.com/silenceper/wechat/v2/work/context"
)
// Client 打卡接口实例
type Client struct {
*context.Context
}
// NewClient 初始化实例
func NewClient(ctx *context.Context) *Client {
return &Client{
ctx,
}
}