This commit is contained in:
2023-12-02 18:54:05 +08:00
parent 7ba7d56c86
commit 317bfcb953
2 changed files with 2 additions and 2 deletions

View File

@@ -35,5 +35,5 @@ public class LpkGiftCard {
private String recordSid;
private String recordId;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date bingDate;
private Date bindDate;
}

View File

@@ -85,7 +85,7 @@ public class LpkGiftCardService extends MybatisBaseService<LpkGiftCardMapper, Lp
}
lpkGiftCard.setCustomerSid(bindCardDto.getCustomerSid());
lpkGiftCard.setState("3");
lpkGiftCard.setBingDate(new Date());
lpkGiftCard.setBindDate(new Date());
baseMapper.updateById(lpkGiftCard);
return rb.success().setMsg("绑定成功");
}