Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2025-04-18 10:58:00 +08:00
commit 4914899cad
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ func refreshAnnouncement() {
}
}
for _, announcement := range GetAnnouncements() {
for _, announcement := range getAnnouncements() {
var exist bool
for _, existingAnnouncement := range existingAnnouncements {
if announcement.Id == existingAnnouncement.Id {

View File

@ -233,7 +233,7 @@ type Announcement struct {
Region int `json:"region"`
}
func GetAnnouncements() (ret []*Announcement) {
func getAnnouncements() (ret []*Announcement) {
result, err := util.GetRhyResult(false)
if err != nil {
logging.LogErrorf("get announcement failed: %s", err)