mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
add element
This commit is contained in:
parent
2ea272bddd
commit
71595a2567
@ -163,7 +163,7 @@ func NewUrlShare(url, title, content, image string) *ServiceElement {
|
|||||||
}
|
}
|
||||||
func NewXmlMsg(template string, ResId int64) *ServiceElement {
|
func NewXmlMsg(template string, ResId int64) *ServiceElement {
|
||||||
if ResId == 0 {
|
if ResId == 0 {
|
||||||
ResId = 2 //默认值2
|
ResId = 60 //默认值60
|
||||||
}
|
}
|
||||||
return &ServiceElement{
|
return &ServiceElement{
|
||||||
Id: int32(ResId),
|
Id: int32(ResId),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user