1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

add element

This commit is contained in:
scjtqs 2020-08-30 13:27:22 +08:00
parent 2ea272bddd
commit 71595a2567

View File

@ -163,7 +163,7 @@ func NewUrlShare(url, title, content, image string) *ServiceElement {
}
func NewXmlMsg(template string, ResId int64) *ServiceElement {
if ResId == 0 {
ResId = 2 //默认值2
ResId = 60 //默认值60
}
return &ServiceElement{
Id: int32(ResId),