this is 4.2 update

This commit is contained in:
chen-xin-zhi 2025-04-02 13:45:07 +08:00
parent 1b3ca354db
commit 34cefe5442
3 changed files with 12 additions and 11 deletions

View File

@ -212,6 +212,7 @@ public class GlobalController {
Map<String, List<PhotoProductsLabelVO>> photoProductsMap = new HashMap<>();
List<PhotoProducts> photoProductsList = commonService.findByFieldEqTargetField("isShelves", 1, photoProductsService);
List<PhotoProductsLabelVO> photoProductsLabelVOS = commonService.convertList(photoProductsList, PhotoProductsLabelVO.class);
Collections.reverse(photoProductsLabelVOS);
for (PhotoProductsLabelVO photoProductsLabelVO : photoProductsLabelVOS) {
String categoryName = photoProductsLabelVO.getCategoryName();

View File

@ -1,21 +1,21 @@
spring:
datasource:
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://154.8.193.216:3306/feiyi?serverTimezone=Asia/Shanghai
# username: feiyi
# password: 123456asd
# hikari:
# maximum-pool-size: 20
# max-lifetime: 120000
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://123.249.108.160:3306/feiyi-sc?serverTimezone=Asia/Shanghai
username: feiyi-sc
url: jdbc:mysql://154.8.193.216:3306/feiyi?serverTimezone=Asia/Shanghai
username: feiyi
password: 123456asd
hikari:
maximum-pool-size: 20
max-lifetime: 120000
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://123.249.108.160:3306/feiyi-sc?serverTimezone=Asia/Shanghai
# username: feiyi-sc
# password: 123456asd
# hikari:
# maximum-pool-size: 20
# max-lifetime: 120000
rabbitmq:
host: 123.249.108.160

View File

@ -1,6 +1,6 @@
spring:
profiles:
active: dev
active: prod