Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Matrix-X committed Sep 13, 2024
1 parent 0850477 commit 6e0ce01
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/zh/start/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ func main() {
Callback: "https://wecom.artisan-cloud.com/callback",
Scopes: nil,
},
Log: work.Log{
Level: "debug",
File: "./wechat.log",
Stdout: false, // 是否打印在终端
},
HttpDebug: true,
})
if err != nil {
Expand Down
5 changes: 5 additions & 0 deletions docs/zh/wecom/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ WeComApp, err := work.NewWork(&work.UserConfig{
Callback: "https://wecom.artisan-cloud.com/callback", //
Scopes: nil,
},
Log: work.Log{
Level: "debug",
File: "./wechat.log",
Stdout: false, // 是否打印在终端
},
HttpDebug: true,
// 可选,不传默认走程序内存
Cache: kernel.NewRedisClient(&kernel.UniversalOptions{
Expand Down

0 comments on commit 6e0ce01

Please sign in to comment.