- StoreMsgSendStatusName

This commit is contained in:
gazebo
2019-01-05 14:39:23 +08:00
parent f2f71cbe73
commit d0abc189be
2 changed files with 10 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ func InitServiceInfo(version, buildDate, gitCommit string) {
"taskStatusName": tasksch.TaskStatusName,
"opRequestTypeName": model.RequestTypeName,
"opRequestStatusName": model.RequestStatusName,
"storeMsgSendStatusName": model.StoreMsgSendStatusName,
},
}
Init()

View File

@@ -11,6 +11,15 @@ const (
MessageStatusSendAllFailed = 3
)
var (
StoreMsgSendStatusName = map[int]string{
MessageStatusNew: "发送中",
MessageStatusSendAllSuccess: "成功",
MessageStatusSendSuccess: "部分成功",
MessageStatusSendAllFailed: "失败",
}
)
type Message struct {
ModelIDCULD
Type int8 `json:"type"`