1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-05 21:22:27 +08:00

Compare commits

...

5 Commits

Author SHA1 Message Date
silenceper
9b06954b10 Merge pull request #202 from ckeyer/add_ThumbURL
add ThumbURL
2020-01-14 16:31:43 +08:00
silenceper
431f7d3a9f Update FUNDING.yml 2020-01-10 19:47:44 +08:00
silenceper
8e24b47a70 Update FUNDING.yml 2020-01-10 19:46:35 +08:00
silenceper
83bd282760 Update README.md
增加公众号
2020-01-10 19:43:49 +08:00
Chuanjian Wang
bf167d959c add ThumbURL 2019-12-25 11:23:45 +08:00
2 changed files with 5 additions and 1 deletions

View File

@@ -3,7 +3,6 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/silenceper/wechat)](https://goreportcard.com/report/github.com/silenceper/wechat)
[![GoDoc](http://godoc.org/github.com/silenceper/wechat?status.svg)](http://godoc.org/github.com/silenceper/wechat)
使用Golang开发的微信SDK简单、易用。
## 快速开始
@@ -46,6 +45,10 @@ server.Send()
- Beego: [./examples/beego/beego.go](./examples/beego/beego.go)
- Gin Framework: [./examples/gin/gin.go](./examples/gin/gin.go)
## 交流群:
![关注公众号入群交流](https://silenceper.oss-cn-beijing.aliyuncs.com/qrcode/qr_code_study_program_258.jpg)
>关注公众号并回复“入群”
## 基本配置
```go

View File

@@ -32,6 +32,7 @@ func NewMaterial(context *context.Context) *Material {
type Article struct {
Title string `json:"title"`
ThumbMediaID string `json:"thumb_media_id"`
ThumbURL string `json:"thumb_url"`
Author string `json:"author"`
Digest string `json:"digest"`
ShowCoverPic int `json:"show_cover_pic"`