1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-06 21:52:27 +08:00
This commit is contained in:
wind
2024-09-27 15:44:19 +08:00
parent 06c225c351
commit 4a4339fc32
10 changed files with 394 additions and 287 deletions

View File

@@ -1,21 +0,0 @@
package tools
import (
"github.com/silenceper/wechat/v2/work/context"
)
const (
calendarURL = "https://qyapi.weixin.qq.com/cgi-bin/oa/calendar/get?access_token=%s"
)
//Calendar 日历管理
type Calendar struct {
*context.Context
}
//NewCalendar 实例化
func NewCalendar(context *context.Context) *Calendar {
calendar := new(Calendar)
calendar.Context = context
return calendar
}