mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-08 22:52:27 +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:
@@ -4,6 +4,7 @@ import (
|
||||
"github.com/silenceper/wechat/v2/credential"
|
||||
"github.com/silenceper/wechat/v2/work/addresslist"
|
||||
"github.com/silenceper/wechat/v2/work/appchat"
|
||||
"github.com/silenceper/wechat/v2/work/checkin"
|
||||
"github.com/silenceper/wechat/v2/work/config"
|
||||
"github.com/silenceper/wechat/v2/work/context"
|
||||
"github.com/silenceper/wechat/v2/work/externalcontact"
|
||||
@@ -85,3 +86,8 @@ func (wk *Work) GetAppChat() *appchat.Client {
|
||||
func (wk *Work) GetInvoice() *invoice.Client {
|
||||
return invoice.NewClient(wk.ctx)
|
||||
}
|
||||
|
||||
// GetCheckin 获取打卡接口实例
|
||||
func (wk *Work) GetCheckin() *checkin.Client {
|
||||
return checkin.NewClient(wk.ctx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user