fix(优惠券中心):用户订单新增是否展示一键成片字段,数据库时间格式设置
This commit is contained in:
+5
@@ -766,6 +766,11 @@ public class OrderController {
|
||||
}
|
||||
orderFileMap.put("videoList", videoList);
|
||||
|
||||
// 添加showVideoEditOnly字段
|
||||
QrCode qrCode = qrCodeService.getByCodeId(order.getCodeId());
|
||||
Integer showVideoEditOnly = qrCode != null ? qrCode.getShowVideoEditOnly() : 1; // 默认值为1
|
||||
orderFileMap.put("showVideoEditOnly", showVideoEditOnly);
|
||||
|
||||
return Result.succeed(orderFileMap, "查询成功");
|
||||
}
|
||||
|
||||
|
||||
+6
-1
@@ -358,12 +358,17 @@ public class OrderFileController {
|
||||
String tip = "素材上传完成";
|
||||
String orderName = tourism.getTourismName();
|
||||
String pageUrl = "pages/album/album";
|
||||
// 处理支付时间为空的情况
|
||||
String payTimeStr = "";
|
||||
if (order.getPayTime() != null) {
|
||||
payTimeStr = DateUtils.sdf.format(order.getPayTime());
|
||||
}
|
||||
wxMiniSubscribeService.sendServiceProcessMsg(
|
||||
sysUser.getOpenId(),
|
||||
orderName,
|
||||
tip,
|
||||
order.getOrderNo(),
|
||||
DateUtils.sdf.format(order.getPayTime()),
|
||||
payTimeStr,
|
||||
"",
|
||||
pageUrl
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user