默认使用text消息类型
This commit is contained in:
parent
afdefd0632
commit
f9b71fa733
|
@ -253,6 +253,9 @@ func main() {
|
|||
msgContent = req.Form.Get("title") + "\n" + req.Form.Get("desc")
|
||||
}
|
||||
msgType := req.Form.Get("msg_type")
|
||||
if len(msgType) == 0 {
|
||||
msgType = "text"
|
||||
}
|
||||
log.Println("mes_type=", msgType)
|
||||
// 默认mediaId为空
|
||||
mediaId := ""
|
||||
|
|
Loading…
Reference in New Issue