@@ -63,7 +63,7 @@ type NoticePushSaveReq struct { | |||||
SendEndTime string `json:"send_end_time"` | SendEndTime string `json:"send_end_time"` | ||||
UserList []string `json:"user_list"` | UserList []string `json:"user_list"` | ||||
TagList []string `json:"tag_list"` | TagList []string `json:"tag_list"` | ||||
Level string `json:"level"` | |||||
Level []string `json:"level"` | |||||
} | } | ||||
type NoticeAliyunSmsListReq struct { | type NoticeAliyunSmsListReq struct { | ||||
@@ -116,5 +116,5 @@ type NoticeAliyunSmsPushSaveReq struct { | |||||
Target string `json:"target"` | Target string `json:"target"` | ||||
PhoneList []string `json:"phone_list"` | PhoneList []string `json:"phone_list"` | ||||
TagList []string `json:"tag_list"` | TagList []string `json:"tag_list"` | ||||
Level string `json:"level"` | |||||
Level []string `json:"level"` | |||||
} | } |
@@ -187,7 +187,7 @@ func AliyunSmsPushSave(c *gin.Context) { | |||||
Target: req.Target, | Target: req.Target, | ||||
Phone: utils.SerializeStr(req.PhoneList), | Phone: utils.SerializeStr(req.PhoneList), | ||||
TagId: utils.SerializeStr(req.TagList), | TagId: utils.SerializeStr(req.TagList), | ||||
Level: utils.StrToInt(req.Level), | |||||
Level: utils.SerializeStr(req.Level), | |||||
Title: req.Title, | Title: req.Title, | ||||
Content: req.Content, | Content: req.Content, | ||||
CreateAt: time.Now(), | CreateAt: time.Now(), | ||||
@@ -154,7 +154,7 @@ func PushSave(c *gin.Context) { | |||||
Target: req.Target, | Target: req.Target, | ||||
UserId: utils.SerializeStr(req.UserList), | UserId: utils.SerializeStr(req.UserList), | ||||
TagId: utils.SerializeStr(req.TagList), | TagId: utils.SerializeStr(req.TagList), | ||||
Level: utils.StrToInt(req.Level), | |||||
Level: utils.SerializeStr(req.Level), | |||||
Title: req.Title, | Title: req.Title, | ||||
Content: req.Content, | Content: req.Content, | ||||
SendType: utils.StrToInt(req.SendType), | SendType: utils.StrToInt(req.SendType), | ||||
@@ -33,7 +33,7 @@ require ( | |||||
) | ) | ||||
require ( | require ( | ||||
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241205055206-f02789cb9cac | |||||
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241205074100-eab6e9316de6 | |||||
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241203080408-75cfef2c6334 | code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241203080408-75cfef2c6334 | ||||
code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be | code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be | ||||
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 | code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 | ||||