mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-12 08:42:28 +08:00
feat: Add Checkin (#719)
* feat: Add Checkin - Implement 'getcheckindata' API * refactor: Change variable names * refactor: Change struct name
This commit is contained in:
17
work/checkin/client.go
Normal file
17
work/checkin/client.go
Normal 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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user