|
|
// 消息 by acgpiano
|
|
|
'use strict';
|
|
|
|
|
|
const _ = require('lodash');
|
|
|
const moment = require('moment');
|
|
|
const helpers = global.yoho.helpers;
|
|
|
|
...
|
...
|
@@ -40,7 +41,7 @@ class messageModel extends global.yoho.BaseModel { |
|
|
|
|
|
// name: item.body.name,
|
|
|
// collarTime: item.body.collar_time,
|
|
|
// useTime: item.body.use_time,
|
|
|
content: _.get(item, 'body.content', ''),
|
|
|
isCollar: item.body.is_collar === 'Y' ? true : false,
|
|
|
isOverTime: item.body.is_over_time === 'Y' ? true : false
|
|
|
});
|
...
|
...
|
|