apk调试
This commit is contained in:
parent
09d7beb49e
commit
8cc0b5af3e
|
|
@ -99,8 +99,8 @@ public class CareerController {
|
||||||
dao.updatePDFAddress(nameList.get(i).split("-")[1],imageFiles+nameList.get(i));
|
dao.updatePDFAddress(nameList.get(i).split("-")[1],imageFiles+nameList.get(i));
|
||||||
String idNumber = nameList.get(i).split("-")[1];
|
String idNumber = nameList.get(i).split("-")[1];
|
||||||
String phone = dao.getPersonPhoneNumber(idNumber);
|
String phone = dao.getPersonPhoneNumber(idNumber);
|
||||||
// String linkPath = "http://112.31.106.186:1616/yntj/";//正式环境
|
String linkPath = "http://112.29.103.165:1616/yntj/";//正式环境
|
||||||
String linkPath = "http://112.29.103.165:1616/yntj";//测试环境
|
// String linkPath = "http://192.168.0.14:18077vv/yntj";//测试环境
|
||||||
String msg = nameList.get(i).split("-")[0]+"您的体检结果已生成,请点击查看 "+linkPath;
|
String msg = nameList.get(i).split("-")[0]+"您的体检结果已生成,请点击查看 "+linkPath;
|
||||||
SendPhoneMessageUtil.SendPhoneMsg(phone,msg);
|
SendPhoneMessageUtil.SendPhoneMsg(phone,msg);
|
||||||
System.out.println(phone+"职业体检结果短信发送完成");
|
System.out.println(phone+"职业体检结果短信发送完成");
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,10 @@ public class CorsFilterConfig {
|
||||||
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
|
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
|
||||||
CorsConfiguration config = new CorsConfiguration();
|
CorsConfiguration config = new CorsConfiguration();
|
||||||
// 允许跨域访问的域名,可以设置为具体的域名或者通配符"*"
|
// 允许跨域访问的域名,可以设置为具体的域名或者通配符"*"
|
||||||
//测试环境
|
// 生产环境
|
||||||
config.addAllowedOrigin("http://112.29.103.165:1616");
|
config.addAllowedOrigin("http://112.29.103.165:1616");
|
||||||
// config.addAllowedOrigin("http://192.168.1.4:29100");
|
//测试环境
|
||||||
// config.addAllowedOrigin("http://192.168.0.110:18088");
|
// config.addAllowedOrigin("http://192.168.0.14:18077");
|
||||||
// 是否允许发送Cookie信息
|
// 是否允许发送Cookie信息
|
||||||
config.setAllowCredentials(true);
|
config.setAllowCredentials(true);
|
||||||
// 允许的请求方法,比如GET、POST等
|
// 允许的请求方法,比如GET、POST等
|
||||||
|
|
|
||||||
|
|
@ -78,9 +78,9 @@ public class EmployeeHealthCheckController {
|
||||||
System.out.println(imageFiles);
|
System.out.println(imageFiles);
|
||||||
dao.updatePDFAddress(nameList.get(i).split("-")[1],imageFiles+ '/' +nameList.get(i));
|
dao.updatePDFAddress(nameList.get(i).split("-")[1],imageFiles+ '/' +nameList.get(i));
|
||||||
//正式环境
|
//正式环境
|
||||||
// String linkPath = "http://112.31.106.186:1616/yntj/";
|
|
||||||
//测试环境
|
|
||||||
String linkPath = "http://112.29.103.165:1616/yntj/";
|
String linkPath = "http://112.29.103.165:1616/yntj/";
|
||||||
|
//测试环境
|
||||||
|
// String linkPath = "http://192.168.0.14:18077/yntj/";
|
||||||
String phone = dao.getPersonPhoneNumber(nameList.get(i).split("-")[1]);
|
String phone = dao.getPersonPhoneNumber(nameList.get(i).split("-")[1]);
|
||||||
String msg = nameList.get(i).split("-")[0]+"您的体检结果已生成,请点击查看"+linkPath;
|
String msg = nameList.get(i).split("-")[0]+"您的体检结果已生成,请点击查看"+linkPath;
|
||||||
SendPhoneMessageUtil.SendPhoneMsg(phone,msg);
|
SendPhoneMessageUtil.SendPhoneMsg(phone,msg);
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,10 @@ server.servlet.context-path=/medicalDocumentation
|
||||||
spring.datasource.url=jdbc:mysql://192.168.1.8:23342/yn_tj_appoint?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
|
spring.datasource.url=jdbc:mysql://192.168.1.8:23342/yn_tj_appoint?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
|
||||||
spring.datasource.username=root
|
spring.datasource.username=root
|
||||||
spring.datasource.password=Bonus@yntj123!
|
spring.datasource.password=Bonus@yntj123!
|
||||||
|
#\u6D4B\u8BD5\u5E93
|
||||||
#spring.datasource.url=jdbc:mysql://192.168.1.4:4417/yn_tj_appoint?useSSL=false&allowMultiQueries=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
#spring.datasource.url=jdbc:mysql://192.168.0.14:1115/yn_tj_appoint?useSSL=false&allowMultiQueries=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||||
#spring.datasource.username=root
|
#spring.datasource.username=root
|
||||||
#spring.datasource.password=yntj@bns@123!
|
#spring.datasource.password=xbzadmin@szedu14!
|
||||||
|
|
||||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
spring.datasource.max-idle=10
|
spring.datasource.max-idle=10
|
||||||
|
|
@ -35,6 +35,10 @@ mybatis.type-aliases-package=com.bonus.boot.manager.*.entity
|
||||||
spring.redis.host=192.168.1.8
|
spring.redis.host=192.168.1.8
|
||||||
spring.redis.port=23347
|
spring.redis.port=23347
|
||||||
spring.redis.password=Bonus@yntj123!
|
spring.redis.password=Bonus@yntj123!
|
||||||
|
#\u6D4B\u8BD5
|
||||||
|
#spring.redis.host=192.168.0.14
|
||||||
|
#spring.redis.port=2001
|
||||||
|
#spring.redis.password=Dszbns@Redis123!
|
||||||
#\u672C\u5730
|
#\u672C\u5730
|
||||||
#spring.redis.host=127.0.0.1
|
#spring.redis.host=127.0.0.1
|
||||||
#spring.redis.port=6379
|
#spring.redis.port=6379
|
||||||
|
|
@ -62,7 +66,7 @@ spring.servlet.multipart.enabled=true
|
||||||
files.url=http://112.29.103.165:1616/YSpeaManager/statics
|
files.url=http://112.29.103.165:1616/YSpeaManager/statics
|
||||||
files.path=/data/yn
|
files.path=/data/yn
|
||||||
#\u6D4B\u8BD5
|
#\u6D4B\u8BD5
|
||||||
#files.url=http://192.168.0.14:18088/YSpeaManager/statics
|
#files.url=http://192.168.0.14:18077/YSpeaManager/statics
|
||||||
#files.path=/data/yn
|
#files.path=/data/yn
|
||||||
#\u672C\u5730
|
#\u672C\u5730
|
||||||
#files.url=http://127.0.0.1:18088/YSpeaManager/statics
|
#files.url=http://127.0.0.1:18088/YSpeaManager/statics
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue