Commit 10462678 authored by 李硕's avatar 李硕

开奖时间加8小时

parent 29df39f8
...@@ -62,8 +62,8 @@ const findWinnerInfoList = async (context) => { ...@@ -62,8 +62,8 @@ const findWinnerInfoList = async (context) => {
awardslist.map((item) => { awardslist.map((item) => {
let ad = item.province + item.city + item.area + item.addressDetail, type0 = item.type; let ad = item.province + item.city + item.area + item.addressDetail, type0 = item.type;
item.prizeId = item._id; item.prizeId = item._id;
item.createTime = formatTime(new Date(item.createTime)) || ""; item.createTime = formatTime(new Date(item.createTime + EIGHT_HOURS)) || "";
item.receiveTime = item.receiveTime ? formatTime(new Date(item.receiveTime)) : '未填'; item.receiveTime = item.receiveTime ? formatTime(new Date(item.receiveTime + EIGHT_HOURS)) : '未填';
item.prizeDataType = prizePoolType[item.prizeDataType]; item.prizeDataType = prizePoolType[item.prizeDataType];
item.type = prizeKind[item.type]; item.type = prizeKind[item.type];
item.receiveName = type0 == 3 ? (item.receiveName || "未填") : '/'; item.receiveName = type0 == 3 ? (item.receiveName || "未填") : '/';
...@@ -356,8 +356,8 @@ const findWinnerInfoListBySearch = async (context) => { ...@@ -356,8 +356,8 @@ const findWinnerInfoListBySearch = async (context) => {
awardslist.map((item) => { awardslist.map((item) => {
let ad = item.province + item.city + item.area + item.addressDetail, type0 = item.type; let ad = item.province + item.city + item.area + item.addressDetail, type0 = item.type;
item.prizeId = item._id; item.prizeId = item._id;
item.createTime = formatTime(new Date(item.createTime)) || ""; item.createTime = formatTime(new Date(item.createTime + EIGHT_HOURS)) || "";
item.receiveTime = item.receiveTime ? formatTime(new Date(item.receiveTime)) : '未填'; item.receiveTime = item.receiveTime ? formatTime(new Date(item.receiveTime + EIGHT_HOURS)) : '未填';
item.prizeDataType = prizePoolType[item.prizeDataType]; item.prizeDataType = prizePoolType[item.prizeDataType];
item.type = prizeKind[item.type]; item.type = prizeKind[item.type];
item.receiveName = type0 == 3 ? (item.receiveName || "未填") : '/'; item.receiveName = type0 == 3 ? (item.receiveName || "未填") : '/';
......
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