diff --git a/src/main/java/com/lovenav/service/serviceImpl/QRCServiceImpl.java b/src/main/java/com/lovenav/service/serviceImpl/QRCServiceImpl.java index 427b134..58f193c 100644 --- a/src/main/java/com/lovenav/service/serviceImpl/QRCServiceImpl.java +++ b/src/main/java/com/lovenav/service/serviceImpl/QRCServiceImpl.java @@ -35,8 +35,8 @@ public class QRCServiceImpl implements QRCService{ collectIconList.setQr_url(base64); collectIconListDao.insertSelective(collectIconList); // return JSON.toJSONString(collectIconListDao.selectByUrlid(url_id)); -// return JSON.toJSONString(base64); - return null; + return JSON.toJSONString(base64); +// return null; }else { return JSON.toJSONString(collectIconListDao.selectByUrlid(url_id)); } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c08f7aa..05449d3 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,10 +1,14 @@ spring: + spring: + jackson: + time-zone: GMT+8 + date-format: yyyy-MM-dd mvc: static-path-pattern: /static/** datasource: url: jdbc:mysql://localhost:3306/love-nav username: root - password: 123456 + password: sjm123 driver-class-name: com.mysql.cj.jdbc.Driver redis: host: localhost