Verified Commit de593c9e authored by Cui's avatar Cui

add classType

parent eaea688c
......@@ -19,6 +19,7 @@ type MessageLog struct {
ChannelGroupName string `json:"channelGroupName" bson:"channelGroupName"` // 频道组
Tels string `json:"tels" bson:"tels"` // 短信目标用户手机号
TplID string `json:"tplID" bson:"tplID"` // 短信模板ID
ClassType string `json:"classType" bson:"classType"` // 课程类型:classType=Channel、hotVip【频道、爆款VIP】
Action string `json:"action" bson:"action"` // 推送类型 OneTime_Push,Timing_Push,Delay_Push,Normal_Push
State string `json:"state" bson:"state"` // succeeded-成功 failed-失败
......@@ -91,6 +92,7 @@ func (m *MessageStruct) ToFields() (fields logrus.Fields) {
fields["tels"] = m.Tels
fields["tplID"] = m.TplID
fields["classType"] = m.ClassType
fields["action"] = m.Action
fields["state"] = m.State
fields["date"] = m.Date
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment