Commit cc293f01 by 罗承锋

图片上传稽核修改

parent b882f226
...@@ -432,7 +432,7 @@ public class codeManagerController { ...@@ -432,7 +432,7 @@ public class codeManagerController {
public ResponseData<String> uploadStuCard(String userName, String orderPhone, String linkPhone, public ResponseData<String> uploadStuCard(String userName, String orderPhone, String linkPhone,
String idCard,String file1,String file2,String file3,String file4) { String idCard,String file1,String file2,String file3,String file4) {
if (StringUtils.isNotBlank(userName)) { if (StringUtils.isBlank(userName)) {
return ResponseData.error("请填写姓名"); return ResponseData.error("请填写姓名");
} }
......
...@@ -94,7 +94,7 @@ spring: ...@@ -94,7 +94,7 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: 123.56.82.141 host: 172.18.101.171
port: 5672 port: 5672
username: guest username: guest
password: guest password: guest
...@@ -120,6 +120,9 @@ spring: ...@@ -120,6 +120,9 @@ spring:
exprie: 600 exprie: 600
prohibition: 600 prohibition: 600
datasource: datasource:
url: jdbc:mysql://127.0.0.1:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username: root
password: root
dynamic: dynamic:
primary: master primary: master
p6spy: true p6spy: true
...@@ -128,9 +131,9 @@ spring: ...@@ -128,9 +131,9 @@ spring:
max-active: 30 max-active: 30
datasource: datasource:
master: master:
url: jdbc:mysql://127.0.0.1:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true url: ${spring.datasource.url}
username: root username: ${spring.datasource.username}
password: root password: ${spring.datasource.password}
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
devtools: devtools:
restart: restart:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment