diff --git a/school_lend_back_end/pom.xml b/school_lend_back_end/pom.xml index 78315ee..677ef1d 100644 --- a/school_lend_back_end/pom.xml +++ b/school_lend_back_end/pom.xml @@ -105,16 +105,6 @@ lombok 1.18.30 - - - - org.springframework.boot - spring-boot-starter-data-redis - - - org.springframework.session - spring-session-data-redis - diff --git a/school_lend_back_end/src/main/java/com/bsz/school_send_back_end/controller/AlipayController.java b/school_lend_back_end/src/main/java/com/bsz/school_send_back_end/controller/AlipayController.java index 71a27cd..d7bf83c 100644 --- a/school_lend_back_end/src/main/java/com/bsz/school_send_back_end/controller/AlipayController.java +++ b/school_lend_back_end/src/main/java/com/bsz/school_send_back_end/controller/AlipayController.java @@ -96,6 +96,7 @@ public class AlipayController { if (response1.isSuccess()) { if (oid == null) { User user = new User(); + user.setOpenId(response.getOpenId()); user.setUsername(StringUtils.isAnyBlank(response1.getNickName()) ? "ιšζœΊεε­—" + randomNumberGenerator.generateRandomNumber() : response1.getNickName()); user.setUserPassword("123456"); diff --git a/school_lend_back_end/src/main/resources/application.yml b/school_lend_back_end/src/main/resources/application.yml index afe1def..554ab35 100644 --- a/school_lend_back_end/src/main/resources/application.yml +++ b/school_lend_back_end/src/main/resources/application.yml @@ -29,10 +29,6 @@ server: port: 9999 servlet: context-path: /api - session: - cookie.sameSite: None - cookie.secure: true - cookie.httpOnly: true mybatis-plus: configuration: map-underscore-to-camel-case: false