huangjiajun 5 giorni fa
parent
commit
eb1997d0c2
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +1
    -0
      app/md/md_notice.go
  2. +1
    -0
      app/svc/notice/svc_aliyun_sms.go

+ 1
- 0
app/md/md_notice.go Vedi File

@@ -112,6 +112,7 @@ type NoticeAliyunSmsPushList struct {
Content string `json:"content"`
Target string `json:"target"`
CreateAt string `json:"create_at"`
SmsCode string `json:"sms_code"`
State string `json:"state" example:"0待发送 1发送成功"`
}
type NoticeAliyunSmsPushSaveReq struct {


+ 1
- 0
app/svc/notice/svc_aliyun_sms.go Vedi File

@@ -162,6 +162,7 @@ func AliyunSmsPushList(c *gin.Context) {
Title: v.Title,
Content: v.Content,
Target: v.Target,
SmsCode: v.SmsCode,
State: utils.IntToStr(v.State),
CreateAt: v.CreateAt.Format("2006-01-02 15:04:05"),
}


Caricamento…
Annulla
Salva