mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-06 13:42:26 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b06954b10 | ||
|
|
431f7d3a9f | ||
|
|
8e24b47a70 | ||
|
|
83bd282760 | ||
|
|
bf167d959c |
@@ -3,7 +3,6 @@
|
|||||||
[](https://goreportcard.com/report/github.com/silenceper/wechat)
|
[](https://goreportcard.com/report/github.com/silenceper/wechat)
|
||||||
[](http://godoc.org/github.com/silenceper/wechat)
|
[](http://godoc.org/github.com/silenceper/wechat)
|
||||||
|
|
||||||
|
|
||||||
使用Golang开发的微信SDK,简单、易用。
|
使用Golang开发的微信SDK,简单、易用。
|
||||||
|
|
||||||
## 快速开始
|
## 快速开始
|
||||||
@@ -46,6 +45,10 @@ server.Send()
|
|||||||
- Beego: [./examples/beego/beego.go](./examples/beego/beego.go)
|
- Beego: [./examples/beego/beego.go](./examples/beego/beego.go)
|
||||||
- Gin Framework: [./examples/gin/gin.go](./examples/gin/gin.go)
|
- Gin Framework: [./examples/gin/gin.go](./examples/gin/gin.go)
|
||||||
|
|
||||||
|
## 交流群:
|
||||||
|

|
||||||
|
>关注公众号并回复“入群”
|
||||||
|
|
||||||
## 基本配置
|
## 基本配置
|
||||||
|
|
||||||
```go
|
```go
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ func NewMaterial(context *context.Context) *Material {
|
|||||||
type Article struct {
|
type Article struct {
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
ThumbMediaID string `json:"thumb_media_id"`
|
ThumbMediaID string `json:"thumb_media_id"`
|
||||||
|
ThumbURL string `json:"thumb_url"`
|
||||||
Author string `json:"author"`
|
Author string `json:"author"`
|
||||||
Digest string `json:"digest"`
|
Digest string `json:"digest"`
|
||||||
ShowCoverPic int `json:"show_cover_pic"`
|
ShowCoverPic int `json:"show_cover_pic"`
|
||||||
|
|||||||
Reference in New Issue
Block a user