From f195cf48cf57635c8848b2bc32afd4541c4090ed Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 17 七月 2023 08:57:25 +0800
Subject: [PATCH] 更新接口

---
 cloud-server-account/src/main/java/com/dsh/account/service/impl/TStudentServiceImpl.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/cloud-server-account/src/main/java/com/dsh/account/service/impl/TStudentServiceImpl.java b/cloud-server-account/src/main/java/com/dsh/account/service/impl/TStudentServiceImpl.java
index 03a738d..d420ca5 100644
--- a/cloud-server-account/src/main/java/com/dsh/account/service/impl/TStudentServiceImpl.java
+++ b/cloud-server-account/src/main/java/com/dsh/account/service/impl/TStudentServiceImpl.java
@@ -121,7 +121,8 @@
         student.setPhone(ToolUtil.isNotEmpty(stu.getPhone()) ? stu.getPhone() : "");
         student.setSex(stu.getSex());
         student.setIdCard(ToolUtil.isNotEmpty(stu.getIdCard())?stu.getIdCard() : "");
-        student.setBirthday(new Date(stu.getBirthday()));
+        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
+        student.setBirthday(sdf.parse(stu.getBirthday()));
         student.setHeight(stu.getHeight());
         student.setWeight(stu.getWeight());
         BigDecimal bigDecimal = BigDecimal.valueOf(stu.getWeight());
@@ -488,7 +489,7 @@
     }
 
     public ResultUtil AlipayPayment(String code,BigDecimal amount){
-        ResultUtil alipay = payMoneyUtil.alipay("课包续费", "", "", code, amount.toString(),
+        ResultUtil alipay = payMoneyUtil.alipay("课包续费", "课包续费", "", code, amount.toString(),
                 "/base/coursePackage/alipayPaymentCallback");
         if(alipay.getCode() == 200){
             new Thread(new Runnable() {

--
Gitblit v1.7.1