瀏覽代碼

消息

master
huangjiajun 1 周之前
父節點
當前提交
db53558f30
共有 4 個檔案被更改,包括 5 行新增5 行删除
  1. +2
    -2
      app/md/md_notice.go
  2. +1
    -1
      app/svc/notice/svc_aliyun_sms.go
  3. +1
    -1
      app/svc/notice/svc_notice.go
  4. +1
    -1
      go.mod

+ 2
- 2
app/md/md_notice.go 查看文件

@@ -63,7 +63,7 @@ type NoticePushSaveReq struct {
SendEndTime string `json:"send_end_time"`
UserList []string `json:"user_list"`
TagList []string `json:"tag_list"`
Level string `json:"level"`
Level []string `json:"level"`
}

type NoticeAliyunSmsListReq struct {
@@ -116,5 +116,5 @@ type NoticeAliyunSmsPushSaveReq struct {
Target string `json:"target"`
PhoneList []string `json:"phone_list"`
TagList []string `json:"tag_list"`
Level string `json:"level"`
Level []string `json:"level"`
}

+ 1
- 1
app/svc/notice/svc_aliyun_sms.go 查看文件

@@ -187,7 +187,7 @@ func AliyunSmsPushSave(c *gin.Context) {
Target: req.Target,
Phone: utils.SerializeStr(req.PhoneList),
TagId: utils.SerializeStr(req.TagList),
Level: utils.StrToInt(req.Level),
Level: utils.SerializeStr(req.Level),
Title: req.Title,
Content: req.Content,
CreateAt: time.Now(),


+ 1
- 1
app/svc/notice/svc_notice.go 查看文件

@@ -154,7 +154,7 @@ func PushSave(c *gin.Context) {
Target: req.Target,
UserId: utils.SerializeStr(req.UserList),
TagId: utils.SerializeStr(req.TagList),
Level: utils.StrToInt(req.Level),
Level: utils.SerializeStr(req.Level),
Title: req.Title,
Content: req.Content,
SendType: utils.StrToInt(req.SendType),


+ 1
- 1
go.mod 查看文件

@@ -33,7 +33,7 @@ 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/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


Loading…
取消
儲存