oak-general-business/lib/entities/Message.js

60 lines
1.4 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
;
var IActionDef = {
stm: {
succeed: ['sending', 'success'],
fail: ['sending', 'failure'],
},
is: 'sending',
};
var VisitActionDef = {
stm: {
visit: ['unvisited', 'visited'],
},
is: 'unvisited',
};
var locale = {
zh_CN: {
attr: {
title: '标题',
content: '内容',
user: '关联用户',
system: '系统',
type: '消息类型',
weight: '优先级',
iState: '发送状态',
visitState: '访问状态',
props: '属性',
params: '渠道定制参数',
data: '透传数据',
},
action: {
succeed: '成功',
fail: '失败',
visit: '阅读',
},
v: {
iState: {
sending: '发送中',
success: '发送成功',
failure: '发送失败',
},
visitState: {
unvisited: '未读',
visited: '已读',
},
weight: {
high: '高',
medium: '中',
low: '低',
data: '数据',
},
type: {
adminNotification: '系统通知',
conversationMessage: '客服消息',
},
},
},
};