21 lines
438 B
Go
21 lines
438 B
Go
package controller
|
|
|
|
import (
|
|
"github.com/eatmoreapple/openwechat"
|
|
"fmt"
|
|
"github.com/robfig/cron"
|
|
"time"
|
|
)
|
|
|
|
//获取
|
|
self, err := getCurrentUser()
|
|
|
|
func SignInBegin(msg *openwechat.Message) {
|
|
// 发送到微信
|
|
self.SendTextToGroup("叫啥好呢", "打卡程序启动成功!" + err)
|
|
}
|
|
|
|
func SignInEnd(msg *openwechat.Message){
|
|
// 发送到微信
|
|
self.SendTextToGroup("叫啥好呢", "打卡程序结束运行成功!" + err)
|
|
} |