mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-09 15:12:26 +08:00
oauth2,jssdk
This commit is contained in:
@@ -5,3 +5,10 @@ type Text struct {
|
||||
CommonToken
|
||||
Content string `xml:"Content"`
|
||||
}
|
||||
|
||||
//NewText 初始化文本消息
|
||||
func NewText(content string) *Text {
|
||||
text := new(Text)
|
||||
text.Content = content
|
||||
return text
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user