1 Star 1 Fork 0

窦雪峰 / go-utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
template_msg.go 752 Bytes
一键复制 编辑 原始数据 按行查看 历史
窦雪峰 提交于 2022-06-02 17:18 . fix template_msg
/*
* @Author: i@douxuefeng.cn
* @Date: 2022-06-02 15:11:15
* @LastEditTime: 2022-06-02 16:15:32
* @LastEditors: i@douxuefeng.cn
* @Description:
* @FilePath: \go-utils\wechat\mp\params\template_msg.go
*/
package params
type TemplateMsgParams struct {
Touser string `json:"touser"` //openid
TemplateId string `json:"template_id"`
Url string `json:"url"`
Miniprogram TemplateMsgMiniprogram `json:"miniprogram"`
Data map[string]TemplateMsgItem `json:"data"`
}
type TemplateMsgMiniprogram struct {
Appid string `json:"appid"`
Pagepath string `json:"pagepath"`
}
type TemplateMsgItem struct {
Value string `json:"value"`
Color string `json:"color"`
}
Go
1
https://gitee.com/douxuefeng/go-utils.git
git@gitee.com:douxuefeng/go-utils.git
douxuefeng
go-utils
go-utils
v0.2.6

搜索帮助