mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-06 21:52:27 +08:00
补丁
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user