...
|
...
|
@@ -21,8 +21,8 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
if (result && result.code === 200) {
|
|
|
|
|
|
_.forEach(result.data.freePostCoupons, function(data) {
|
|
|
data.startTime = moment.unix(data.startTime).format('YYYY.M.D');
|
|
|
data.endTime = moment.unix(data.endTime).format('YYYY.M.D');
|
|
|
data.startTime = moment.unix(data.startTime).format('YYYY.MM.DD');
|
|
|
data.endTime = moment.unix(data.endTime).format('YYYY.MM.DD');
|
|
|
});
|
|
|
|
|
|
return result.data;
|
...
|
...
|
|