:refactor: 更新.gitignore以移除日志文件,重命名sync.go为message.go,并在AddJob函数中添加日志输出

This commit is contained in:
李寻欢 2025-04-23 08:47:40 +08:00
parent 2242b4a433
commit 65d245ddaf
3 changed files with 1 additions and 1 deletions

1
.gitignore vendored
View File

@ -32,7 +32,6 @@ dist
*_deleted* *_deleted*
./wechat ./wechat
/wechat /wechat
/logs
# 开发环境配置文件 # 开发环境配置文件
configs/config.dev.yaml configs/config.dev.yaml

View File

@ -45,6 +45,7 @@ func Start() {
// AddJob // AddJob
// @description: 添加任务 // @description: 添加任务
func AddJob(robot model.Robot) { func AddJob(robot model.Robot) {
log.Printf("开始添加【%s[%s]】的定时任务", robot.Nickname, robot.WechatID)
// 初始化微信客户端 // 初始化微信客户端
robotCli, err := xybot.NewClient(robot.WechatID, robot.ContainerHost, false) robotCli, err := xybot.NewClient(robot.WechatID, robot.ContainerHost, false)
if err != nil { if err != nil {