1 Star 1 Fork 0

窦雪峰/go-utils

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
template_msg.go 752 Bytes
一键复制 编辑 原始数据 按行查看 历史
窦雪峰 提交于 2022-06-02 17:18 +08:00 . 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"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/douxuefeng/go-utils.git
git@gitee.com:douxuefeng/go-utils.git
douxuefeng
go-utils
go-utils
v1.0.0

搜索帮助