...
|
...
|
@@ -157,7 +157,7 @@ func messageTaskRecordAnomaly() ([]*domain.MessagePersonal, error) { |
|
|
payloadStr, _ := json.Marshal(payload)
|
|
|
newMessage := domain.MessagePersonal{
|
|
|
Id: 0,
|
|
|
Types: domain.MessageTypesTaskStageApp,
|
|
|
Types: domain.MessageTypesTaskRecordApp,
|
|
|
TargetUserId: val2.Id,
|
|
|
ReadFlag: domain.MessageIsRead,
|
|
|
Title: "",
|
...
|
...
|
@@ -234,7 +234,7 @@ func appMessageSend() error { |
|
|
appMessage = append(appMessage, messageList2...)
|
|
|
openApi := serviceGateway.NewHttplibMmmOpenApiServiceGateway()
|
|
|
for _, val := range appMessage {
|
|
|
_, err := openApi.PushInfo(1, constant.APP_MESSAGE_KEY, []int64{int64(val.TargetUserId)}, val.Title, val.Content)
|
|
|
_, err := openApi.PushInfo(0, constant.APP_MESSAGE_KEY, []int64{int64(val.TargetUserId)}, val.Title, val.Content)
|
|
|
if err != nil {
|
|
|
log.Logger.Error("发送远端openApi关于里程碑异常的消息通知:" + err.Error())
|
|
|
}
|
...
|
...
|
|