Commit c2954ebb authored by wujiang's avatar wujiang

添加安全域控工程

parent eb71cc80
This diff is collapsed.
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.amosframework.boot</groupId>
<artifactId>amos-biz-boot</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>amos-boot-system-precontrol</artifactId>
<name>amos-boot-system-precontrol</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.amosframework.boot</groupId>
<artifactId>amos-boot-module-precontrol-biz</artifactId>
<version>${amos-biz-boot.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
package com.yeejoin.amos;
import java.text.ParseException;
import org.eclipse.paho.client.mqttv3.MqttException;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.TaskScheduler;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
import org.springframework.web.client.RestTemplate;
import org.typroject.tyboot.component.emq.EmqKeeper;
import com.yeejoin.precontrol.common.listener.mqtt.AmosMqTtlListener;
import com.yeejoin.precontrol.common.listener.mqtt.ExamMqTtRecordListener;
import com.yeejoin.precontrol.common.listener.mqtt.ExamMqTtlListener;
import com.yeejoin.precontrol.common.start.StartPlatformTokenService;
import com.yeejoin.precontrol.common.start.StartRiskService;
import lombok.extern.slf4j.Slf4j;
/**
* @Description: 服务启动类
* @Author: duanwei
* @Date: 2020/8/18
*/
@SpringBootApplication(scanBasePackages = { "com.yeejoin.precontrol", "com.yeejoin.amos",
"com.yeejoin.amos.component.rule", "org.typroject.tyboot.component.emq", "org.typroject.tyboot.component.cache",
"org.typroject.tyboot.core.auth", "org.typroject.tyboot.core.foundation","com.yeejoin.precontrol.common.feign", })
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.yeejoin.precontrol.common.feign","com.yeejoin.amos.boot.module.common.api.feign"
,"com.yeejoin.amos.boot.biz.common.workflow.feign"})
@EnableEurekaClient
//@EnableWebSocket
@EnableAsync
@MapperScan({ "com.yeejoin.precontrol.common.mapper", "org.typroject.tyboot.face.*.orm.dao*",
"org.typroject.tyboot.core.auth.face.orm.dao", "org.typroject.tyboot.component.*.face.orm.dao*"
,"com.yeejoin.amos.boot.module.common.api.mapper"
,"com.yeejoin.amos.boot.biz.common.dao.mapper" })
@Slf4j
public class StartPrecontrolService {
@Autowired
private EmqKeeper emqKeeper;
@Autowired
private AmosMqTtlListener amosMqTtlListener;
@Autowired
private ExamMqTtlListener examMqTtlListener;
@Autowired
private ExamMqTtRecordListener examMqTtRecordListener;
@Autowired
private StartPlatformTokenService startPlatformTokenService;
@Autowired
private StartRiskService startRiskService;
public static void main(String[] args) {
SpringApplication.run(StartPrecontrolService.class, args).getEnvironment();
log.info("swagger:--->http://localhost:8060/precontrol/swagger-ui.html");
}
/**
* 使用 websockt注解的时候,使用@EnableScheduling注解后,即开启定时任务 启动的时候一直报错,增加这个bean 则报错解决。
*
* @throws ParseException
*/
@Bean
public TaskScheduler taskScheduler() throws ParseException {
ThreadPoolTaskScheduler taskScheduler = new ThreadPoolTaskScheduler();
taskScheduler.setPoolSize(10);
taskScheduler.initialize();
return taskScheduler;
}
/**
* 添加ribbon负载均衡支持
*/
@Bean
@LoadBalanced
RestTemplate initRestTemplate() {
return new RestTemplate();
}
/**
* 初始化MQTT
*
* @throws MqttException
*/
@Bean
void initMqtt() throws MqttException {
emqKeeper.getMqttClient().subscribe("/amos/operation/log", 1, amosMqTtlListener);
emqKeeper.getMqttClient().subscribe("topic_mqtt_exam", 1, examMqTtlListener);
emqKeeper.getMqttClient().subscribe("topic_mqtt_exam_record", 1, examMqTtRecordListener);
}
// /**
// * 如果直接使用springboot的内置容器,而不是使用独立的servlet容器,就要注入ServerEndpointExporter,外部容器则不需要。
// */
// @Bean
// public ServerEndpointExporter serverEndpointExporter() {
// return new ServerEndpointExporter();
// }
@Bean
public void initToken() {
startPlatformTokenService.getToken();
}
@Bean
public void initTask() {
startRiskService.doTimerTask();
}
}
spring.datasource.url=jdbc:mysql://39.100.239.237:3306/precontrol?serverTimezone=GMT%2B8
spring.datasource.username=root
spring.datasource.password=yeejoin_123
spring.jackson.time-zone=GMT+8
fdfs.so-timeout=1501
fdfs.connect-timeout=601
fdfs.thumb-image.height=200
fdfs.thumb-image.width=200
fdfs.tracker-list[0]=39.98.246.31:22122
fileserver.domain=https://rpm.yeeamos.com:8888/
hk.server=https://vms.jepcc.com
#eureka.instance.hostname=172.16.10.175
eureka.instance.prefer-ip-address=true
#eureka.instance.instance-id= 172.16.11.41:${server.port}
eureka.client.service-url.defaultZone=http://39.100.239.237:10001/eureka/
#redis database index
spring.redis.database=1
#redis ip
spring.redis.host=39.100.239.237
spring.redis.port=6379
#redis password (default is empty)
spring.redis.password=amos2019Redis
#max connect number
spring.redis.pool.max-active=200
# redis max wait time ( -1 is not limit)
spring.redis.pool.max-wait=-1
spring.redis.pool.max-idle=10
spring.redis.pool.min-idle=0
#picture upload
file.uploadUrl=F:\\upload\\files\\
#picture read
file.readUrl=http://172.16.3.89:8083/file/getFile?in=
#\u5C0F\u7A0B\u5E8F\u914D\u7F6E
smallProgram.grant_type=client_credential
smallProgram.appid=wx4295fb99c6319489
smallProgram.secret=bc9998a9e6c259867efccc3fa8365230
smallProgram.token.expiresTime=3600
smallProgram.tutorial_id=1319548143118413825
smallProgram.name=amos\u5E73\u53F0
pagehelper.helper-dialect=mysql
pagehelper.params=count=countSql
pagehelper.reasonable=false
pagehelper.support-methods-arguments=true
#\u516C\u4F17\u53F7\u914D\u7F6E
smallProgram.public.appid=wxf6f295ce82aa4aab
smallProgram.public.secret=8df0d4c5968d0d65cba2a398eedfd1e8
smallProgram.public.encodingAesKey=5lPa0OQzUtEqXXW1mzQTKkPomaPqxgCkrE9WRnuGEF2
project.ip=39.100.239.237
logging.config=classpath:logback-spring.xml
logging.path=/opt/log/
local.file.path=/opt
security.product=WX
security.appKey=studio_normalapp_2075166
security.securityName=AMOS-API-PRIVILEGE
spring.liquibase.change-log=classpath:liquibase/master.xml
spring.liquibase.enabled=false
spring.liquibase.drop-first=false
spring.liquibase.url=jdbc:mysql://39.100.239.237:3306/precontrol?serverTimezone=GMT%2B8
spring.liquibase.user=root
spring.liquibase.password=yeejoin_123
##emqx
emqx.clean-session=true
emqx.client-id=${spring.application.name}-${random.int[1024,65536]}
emqx.broker=tcp://39.100.239.237:1883
emqx.user-name=admin
emqx.password=public
emqx.max-inflight=1000
#jxdj
jxdj.id=1272442250430222338
#user-amos
admin.product=AMOS-SERVICE-ADMIN
admin.appkey=AMOS_ADMIN
admin.user=admin_jepcc
admin.password=a1234560
admin.product.web=AMOS-WEB-ADMIN
amos.secret.key=qaz
#\u673A\u6784\u7528\u6237
amos.agency.code=JEPCC
amos.not-auto-orgcode=false
#\uFFFD\u05BB\uFFFD\uFFFD\uFFFD\u00BC\u012C\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD
app.login.init.password=jxdj123456
#\uFFFD\u05BB\uFFFD\uFFFD\uFFFD\u05A4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0427\u02B1\uFFFD\u48EC\uFFFD\uFFFD\u03BB\uFFFD\uFFFD
redis.key.expire.authCode=300
#\uFFFD\u05BB\uFFFD\uFFFD\uFFFD\u05A4\uFFFD\uFFFDredis\u01F0\uFFFDY
redis.key.prefix.authCode=REDIS_KEY_PREFIX_AUTH_CODE
knowledge.category.id=1356609229319413761
#\uFFFD\u01F7\uFFFD\u03A2\uFFFD\uFFFD\u0421\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0531\uFFFD\uFFFD\u05A4
need.weChat.admin.verify=true
#\uFFFD\uFFFD\uFFFD\uFFFD\u0377\u05E2\uFFFD\uFFFDtoken\uFFFD\uFFFD\u03E2
camera-conf.protocol=http
camera-conf.socket=172.16.11.20:8201
#\u0421\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04B3\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04B5\uFFFD\uFFFD\u02BE\uFFFD\uFFFD\u00BC\uFFFD\uFFFD
app.riskWork.list.size=3
#\u0421\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04B3\uFFFD\uFFFD\u03E2\u0368\u05AA\uFFFD\uFFFD\u02BE\uFFFD\uFFFD\u00BC\uFFFD\uFFFD
app.notice.list.size=3
rule.definition.load=false
rule.definition.default-agency=JEPCC
login.environment=dev
person.information.complete=false
#\u7EBF\u7A0B\u53C2\u6570\u914D\u7F6E
#\u914D\u7F6E\u961F\u5217\u5927\u5C0F
executor.queueCapacity=5
#\u914D\u7F6E\u7EBF\u7A0B\u6C60\u4E2D\u7684\u7EBF\u7A0B\u7684\u540D\u79F0\u524D\u7F00
executor.namePrefix=jepcc_task
# \u7EBF\u7A0B\u6C60\u7EF4\u62A4\u7EBF\u7A0B\u6240\u5141\u8BB8\u7684\u7A7A\u95F2\u65F6\u95F4 \u5355\u4F4D\u79D2
executor.keepAliveSeconds=30000
\ No newline at end of file
spring.datasource.url=jdbc:mysql://47.92.234.253:3306/precontrol?serverTimezone=GMT%2B8
spring.datasource.username=root
spring.datasource.password=yeejoin_1234
spring.jackson.time-zone=GMT+8
fdfs.so-timeout=1501
fdfs.connect-timeout=601
fdfs.thumb-image.height=200
fdfs.thumb-image.width=200
fdfs.tracker-list[0]=39.98.246.31:22122
fileserver.domain=https://rpm.yeeamos.com:8888/
hk.server=https://vms.jepcc.com
#eureka.instance.hostname=172.16.10.175
eureka.instance.prefer-ip-address=true
#eureka.instance.instance-id= 172.16.11.41:${server.port}
eureka.client.service-url.defaultZone=http://47.92.234.253:10001/eureka/
#redis database index
spring.redis.database=1
#redis ip
spring.redis.host=47.92.234.253
spring.redis.port=6379
#redis password (default is empty)
spring.redis.password=amos2019Redis
#max connect number
spring.redis.pool.max-active=200
# redis max wait time ( -1 is not limit)
spring.redis.pool.max-wait=-1
spring.redis.pool.max-idle=10
spring.redis.pool.min-idle=0
#picture upload
file.uploadUrl=F:\\upload\\files\\
#picture read
file.readUrl=http://172.16.3.89:8083/file/getFile?in=
#\u5C0F\u7A0B\u5E8F\u914D\u7F6E
smallProgram.grant_type=client_credential
smallProgram.appid=wx0a2b054a237a3b34
smallProgram.secret=5fc6af660920f6211b1b69bc9c451b09
smallProgram.token.expiresTime=3600
smallProgram.tutorial_id=1319548143118413825
smallProgram.name=amos\u5E73\u53F0
pagehelper.helper-dialect=mysql
pagehelper.params=count=countSql
pagehelper.reasonable=false
pagehelper.support-methods-arguments=true
#\u516C\u4F17\u53F7\u914D\u7F6E
smallProgram.public.appid=wxf6f295ce82aa4aab
smallProgram.public.secret=8df0d4c5968d0d65cba2a398eedfd1e8
smallProgram.public.encodingAesKey=5lPa0OQzUtEqXXW1mzQTKkPomaPqxgCkrE9WRnuGEF2
project.ip=47.92.234.253
logging.config=classpath:logback-spring.xml
logging.path=/opt/log/
local.file.path=/opt
security.product=WX
security.appKey=studio_normalapp_2075166
security.securityName=AMOS-API-PRIVILEGE
spring.liquibase.change-log=classpath:liquibase/master.xml
spring.liquibase.enabled=false
spring.liquibase.drop-first=false
spring.liquibase.url=jdbc:mysql://47.92.234.253:3306/precontrol?serverTimezone=GMT%2B8
spring.liquibase.user=root
spring.liquibase.password=yeejoin_1234
##emqx
emqx.clean-session=true
emqx.client-id=${spring.application.name}-${random.int[1024,65536]}
emqx.broker=tcp://47.92.234.253:1883
emqx.user-name=admin
emqx.password=public
emqx.max-inflight=1000
#jxdj
jxdj.id=1272442250430222338
#user-amos
admin.product=AMOS-SERVICE-ADMIN
admin.appkey=AMOS_ADMIN
admin.user=admin_jepcc
admin.password=a1234560
admin.product.web=AMOS-WEB-ADMIN
amos.secret.key=qaz
#\u673A\u6784\u7528\u6237
amos.agency.code=JEPCC
amos.not-auto-orgcode=false
#\uFFFD\u05BB\uFFFD\uFFFD\uFFFD\u00BC\u012C\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD
app.login.init.password=jxdj123456
#\uFFFD\u05BB\uFFFD\uFFFD\uFFFD\u05A4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0427\u02B1\uFFFD\u48EC\uFFFD\uFFFD\u03BB\uFFFD\uFFFD
redis.key.expire.authCode=300
#\uFFFD\u05BB\uFFFD\uFFFD\uFFFD\u05A4\uFFFD\uFFFDredis\u01F0\uFFFDY
redis.key.prefix.authCode=REDIS_KEY_PREFIX_AUTH_CODE
knowledge.category.id=1356609229319413761
#\uFFFD\u01F7\uFFFD\u03A2\uFFFD\uFFFD\u0421\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0531\uFFFD\uFFFD\u05A4
need.weChat.admin.verify=true
#\uFFFD\uFFFD\uFFFD\uFFFD\u0377\u05E2\uFFFD\uFFFDtoken\uFFFD\uFFFD\u03E2
camera-conf.protocol=http
camera-conf.socket=172.16.11.20:8201
#\u0421\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04B3\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04B5\uFFFD\uFFFD\u02BE\uFFFD\uFFFD\u00BC\uFFFD\uFFFD
app.riskWork.list.size=3
#\u0421\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04B3\uFFFD\uFFFD\u03E2\u0368\u05AA\uFFFD\uFFFD\u02BE\uFFFD\uFFFD\u00BC\uFFFD\uFFFD
app.notice.list.size=3
rule.definition.load=false
rule.definition.default-agency=JEPCC
login.environment=dev
person.information.complete=false
#\u7EBF\u7A0B\u53C2\u6570\u914D\u7F6E
#\u914D\u7F6E\u961F\u5217\u5927\u5C0F
executor.queueCapacity=5
#\u914D\u7F6E\u7EBF\u7A0B\u6C60\u4E2D\u7684\u7EBF\u7A0B\u7684\u540D\u79F0\u524D\u7F00
executor.namePrefix=jepcc_task
# \u7EBF\u7A0B\u6C60\u7EF4\u62A4\u7EBF\u7A0B\u6240\u5141\u8BB8\u7684\u7A7A\u95F2\u65F6\u95F4 \u5355\u4F4D\u79D2
executor.keepAliveSeconds=30000
\ No newline at end of file
spring.datasource.url=jdbc:mysql://amos-mysql:3306/case_server?serverTimezone=GMT%2B8
spring.datasource.username=root
spring.datasource.password=yeejoin_1234
fdfs.so-timeout=1501
fdfs.connect-timeout=601
fdfs.thumb-image.height=200
fdfs.thumb-image.width=200
fdfs.tracker-list[0]=fastdfs-storage:22122
fileserver_domain=http://172.16.10.175:8888
eureka.instance.hostname:amos-eurka
eureka.instance.prefer-ip-address=true
eureka.client.serviceUrl.defaultZone:http://${eureka.instance.hostname}:10001/eureka/
#redis database index
spring.redis.database=5
#redis ip
spring.redis.host=amos-redis
spring.redis.port=6379
#redis password (default is empty)
spring.redis.password=redis2020
#max connect number
spring.redis.pool.max-active=200
# redis max wait time ( -1 is not limit)
spring.redis.pool.max-wait=-1
spring.redis.pool.max-idle=10
spring.redis.pool.min-idle=0
##emqx
emqx.clean-session=true
emqx.client-id=${spring.application.name}-${random.int[1024,65536]}
emqx.broker=tcp://172.16.10.85:1883
emqx.user-name=super
emqx.password=a123456
emqx.max-inflight=1000
#手机登录默认密码
app.login.init.password=jxdj123456
#手机验证码最大有效时间,单位秒
redis.key.expire.authCode=300
#手机验证码redis前綴
redis.key.prefix.authCode=REDIS_KEY_PREFIX_AUTH_CODE
#是否微信小程序管理员认证
need.weChat.admin.verify=false
#摄像头注册token信息
camera-conf.protocol=http
camera-conf.socket=172.16.11.20:8201
#小程序首页风险作业显示记录数
app.riskWork.list.size=3
#小程序首页消息通知显示记录数
app.notice.list.size=3
\ No newline at end of file
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/precontrol?serverTimezone=GMT%2B8
spring.datasource.username=root
spring.datasource.password=yeejoin_123
fdfs.so-timeout=1501
fdfs.connect-timeout=601
fdfs.thumb-image.height=200
fdfs.thumb-image.width=200
fdfs.tracker-list[0]=39.98.246.31:22122
fileserver.domain=http://39.98.246.31:8888/
#eureka.instance.hostname=172.16.10.175
eureka.instance.prefer-ip-address=true
#eureka.instance.instance-id= 172.16.11.41:${server.port}
eureka.client.service-url.defaultZone=http://localhost:10001/eureka/
#redis database index
spring.redis.database=5
#redis ip
spring.redis.host=127.0.0.1
spring.redis.port=6379
#redis password (default is empty)
spring.redis.password=amos2019Redis
#max connect number
spring.redis.pool.max-active=200
# redis max wait time ( -1 is not limit)
spring.redis.pool.max-wait=-1
spring.redis.pool.max-idle=10
spring.redis.pool.min-idle=0
#picture upload
file.uploadUrl=F:\\upload\\files\\
#picture read
file.readUrl=http://172.16.3.89:8083/file/getFile?in=
smallProgram.grant_type=client_credential
smallProgram.appid=wx4295fb99c6319489
smallProgram.secret=bc9998a9e6c259867efccc3fa8365230
smallProgram.token.expiresTime=3600
pagehelper.helper-dialect=mysql
pagehelper.params=count=countSql
pagehelper.reasonable=false
pagehelper.support-methods-arguments=true
project.ip=127.0.0.1
logging.config=classpath:logback-spring.xml
logging.path=/opt/log/
local.file.path=/opt
security.product=WX
security.appKey=studio_normalapp_2075166
security.securityName=AMOS-API-PRIVILEGE
spring.liquibase.change-log=classpath:liquibase/master.xml
spring.liquibase.enabled=true
spring.liquibase.drop-first=false
spring.liquibase.url=jdbc:mysql://127.0.0.1:3306/precontrol?serverTimezone=GMT%2B8
spring.liquibase.user=root
spring.liquibase.password=yeejoin_123
##emqx
emqx.clean-session=true
emqx.client-id=${spring.application.name}-${random.int[1024,65536]}
emqx.broker=tcp://172.16.10.85:1883
emqx.user-name=super
emqx.password=a123456
emqx.max-inflight=1000
#手机登录默认密码
app.login.init.password=jxdj123456
#手机验证码最大有效时间,单位秒
redis.key.expire.authCode=300
#手机验证码redis前綴
redis.key.prefix.authCode=REDIS_KEY_PREFIX_AUTH_CODE
#是否微信小程序管理员认证
need.weChat.admin.verify=false
#摄像头注册token信息
camera-conf.protocol=http
camera-conf.socket=172.16.11.20:8201
#小程序首页风险作业显示记录数
app.riskWork.list.size=3
#小程序首页消息通知显示记录数
app.notice.list.size=3
\ No newline at end of file
spring.datasource.url=jdbc:mysql://39.100.239.237:3306/precontrol?serverTimezone=GMT%2B8
spring.datasource.username=root
spring.datasource.password=yeejoin_123
spring.jackson.time-zone=GMT+8
fdfs.so-timeout=1501
fdfs.connect-timeout=601
fdfs.thumb-image.height=200
fdfs.thumb-image.width=200
fdfs.tracker-list[0]=39.98.246.31:22122
fileserver.domain=https://jepcc.yeeamos.com:8888/
#eureka.instance.hostname=172.16.10.175
eureka.instance.prefer-ip-address=true
#eureka.instance.instance-id= 172.16.11.41:${server.port}
eureka.client.service-url.defaultZone=http://39.100.239.237:10001/eureka/
#redis database index
spring.redis.database=5
#redis ip
spring.redis.host=39.100.239.237
spring.redis.port=6379
#redis password (default is empty)
spring.redis.password=amos2019Redis
#max connect number
spring.redis.pool.max-active=200
# redis max wait time ( -1 is not limit)
spring.redis.pool.max-wait=-1
spring.redis.pool.max-idle=10
spring.redis.pool.min-idle=0
#picture upload
file.uploadUrl=F:\\upload\\files\\
#picture read
file.readUrl=http://172.16.3.89:8083/file/getFile?in=
#\u5C0F\u7A0B\u5E8F\u914D\u7F6E
smallProgram.grant_type=client_credential
smallProgram.appid=wx4295fb99c6319489
smallProgram.secret=bc9998a9e6c259867efccc3fa8365230
smallProgram.token.expiresTime=3600
smallProgram.tutorial_id=1319548143118413825
pagehelper.helper-dialect=mysql
pagehelper.params=count=countSql
pagehelper.reasonable=false
pagehelper.support-methods-arguments=true
#\u516C\u4F17\u53F7\u914D\u7F6E
smallProgram.public.appid=wxf6f295ce82aa4aab
smallProgram.public.secret=8df0d4c5968d0d65cba2a398eedfd1e8
smallProgram.public.encodingAesKey=5lPa0OQzUtEqXXW1mzQTKkPomaPqxgCkrE9WRnuGEF2
project.ip=39.100.239.237
logging.config=classpath:logback-spring.xml
logging.path=/opt/log/
local.file.path=/opt
security.product=WX
security.appKey=studio_normalapp_2075166
security.securityName=AMOS-API-PRIVILEGE
spring.liquibase.change-log=classpath:liquibase/master.xml
spring.liquibase.enabled=true
spring.liquibase.drop-first=false
spring.liquibase.url=jdbc:mysql://39.100.239.237:3306/precontrol?serverTimezone=GMT%2B8
spring.liquibase.user=root
spring.liquibase.password=yeejoin_123
##emqx
emqx.clean-session=true
emqx.client-id=${spring.application.name}-${random.int[1024,65536]}
emqx.broker=tcp://39.100.239.237:1883
emqx.user-name=admin
emqx.password=public
emqx.max-inflight=1000
#jxdj
jxdj.id=1272442250430222338
#user-amos
admin.product=AMOS-SERVICE-ADMIN
admin.appkey=AMOS_ADMIN
admin.user=admin_jepcc
admin.password=a1234560
admin.product.web=AMOS-WEB-ADMIN
#\u673A\u6784\u7528\u6237
amos.agency.code=JEPCC
amos.not-auto-orgcode=false
#\uFFFD\u05BB\uFFFD\uFFFD\uFFFD\u00BC\u012C\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD
app.login.init.password=jxdj123456
#\uFFFD\u05BB\uFFFD\uFFFD\uFFFD\u05A4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0427\u02B1\uFFFD\u48EC\uFFFD\uFFFD\u03BB\uFFFD\uFFFD
redis.key.expire.authCode=300
#\uFFFD\u05BB\uFFFD\uFFFD\uFFFD\u05A4\uFFFD\uFFFDredis\u01F0\uFFFDY
redis.key.prefix.authCode=REDIS_KEY_PREFIX_AUTH_CODE
knowledge.category.id=1356609229319413761
#\uFFFD\u01F7\uFFFD\u03A2\uFFFD\uFFFD\u0421\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0531\uFFFD\uFFFD\u05A4
need.weChat.admin.verify=true
#\uFFFD\uFFFD\uFFFD\uFFFD\u0377\u05E2\uFFFD\uFFFDtoken\uFFFD\uFFFD\u03E2
camera-conf.protocol=http
camera-conf.socket=172.16.11.20:8201
#\u0421\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04B3\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04B5\uFFFD\uFFFD\u02BE\uFFFD\uFFFD\u00BC\uFFFD\uFFFD
app.riskWork.list.size=3
#\u0421\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04B3\uFFFD\uFFFD\u03E2\u0368\u05AA\uFFFD\uFFFD\u02BE\uFFFD\uFFFD\u00BC\uFFFD\uFFFD
app.notice.list.size=3
#\u0421\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u05BB\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u05A4\uFFFD\uFFFD\uFFFD\u00BC\uFFFD\uFFFD\uFFFD\uFFFD: dev--\uFFFD\uFFFD\uFFFD\u053B\uFFFD\uFFFD\uFFFD\uFFFD\uFFFDproduct--\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD
login.environment=dev
#\u7EBF\u7A0B\u53C2\u6570\u914D\u7F6E
#\u914D\u7F6E\u961F\u5217\u5927\u5C0F
executor.queueCapacity=5
#\u914D\u7F6E\u7EBF\u7A0B\u6C60\u4E2D\u7684\u7EBF\u7A0B\u7684\u540D\u79F0\u524D\u7F00
executor.namePrefix=jepcc_task
# \u7EBF\u7A0B\u6C60\u7EF4\u62A4\u7EBF\u7A0B\u6240\u5141\u8BB8\u7684\u7A7A\u95F2\u65F6\u95F4 \u5355\u4F4D\u79D2
executor.keepAliveSeconds=30000
\ No newline at end of file
spring.application.name=JEPCC-PRECONTROL-SERVER-WJ
server.servlet.context-path=/precontrol
#server.servlet.context-path=/case
spring.profiles.active=dev
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#mybatis mapper file
mybatis.mapper-locations=classpath:mapper/*.xml
#mybatis-plus\u914D\u7F6E\u63A7\u5236\u53F0\u6253\u5370\u5B8C\u6574\u5E26\u53C2\u6570SQL\u8BED\u53E5
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
# mybatis entity package
mybatis.type-aliases-package=com.yeejoin.cases.common.entity
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.servlet.multipart.max-file-size=500MB
spring.servlet.multipart.max-request-size=500MB
#\u5FC5\u987B\u5927\u4E8Espring \u5426\u5219\u5F02\u5E38\u88ABtomcat\u5148\u629B\u51FA
server.tomcat.max-swallow-size=500MB
server.port=8060
redis.cache.failure.time=10000
fire-rescue=0
auth-key-fire-team=0
spring.main.allow-bean-definition-overriding=true
rule.award="\u65BD\u5DE5\u5B89\u5168\u9884\u63A7/award"
#server.ssl.protocol=TLS
#server.ssl.key-store=classpath:tomcat.keystore
#server.ssl.key-store-password=123456
#server.ssl.key-store-type=JKS
login.environment=dev
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">.b1 {
white-space-collapsing: preserve;
}
html {
width: 800px;
}
body {
width: 800px;
}
.b2 {
margin: 1.0in 1.25in 1.0in 1.25in;
}
.p1 {
text-align: center;
hyphenate: auto;
font-family: Calibri;
font-size: 10pt;
}
.p2 {
text-align: center;
hyphenate: auto;
font-family: 微软雅黑;
font-size: 10pt;
}
.p3 {
text-align: justify;
hyphenate: auto;
font-family: Calibri;
font-size: 10pt;
}
.td1 {
width: 1.5729166in;
padding-start: 0.0in;
padding-end: 0.0in;
border-bottom: thin solid black;
border-left: thin solid black;
border-right: thin solid black;
border-top: thin solid black;
}
.td2 {
width: 4.71875in;
padding-start: 0.0in;
padding-end: 0.0in;
border-bottom: thin solid black;
border-left: thin solid black;
border-right: thin solid black;
border-top: thin solid black;
}
.td3 {
width: 6.2916665in;
padding-start: 0.0in;
padding-end: 0.0in;
border-bottom: thin solid black;
border-left: thin solid black;
border-right: thin solid black;
border-top: thin solid black;
}
.s1 {
color: #111f2c;
}
.r1 {
height: 0.48541668in;
keep-together: always;
}
.r2 {
height: 0.95625in;
keep-together: always;
}
.r3 {
height: 0.97152776in;
keep-together: always;
}
.t1 {
table-layout: fixed;
border-collapse: collapse;
border-spacing: 0;
}
.fileList {
width: 700px;
}
.fileList img {
width: 700px;
}
</style>
<meta content="DELL" name="author"/>
</head>
<body class="b1 b2">
<table class="t1">
<tbody>
<tr class="r1">
<td class="td1" rowspan="2"><p class="p1"><span>安全技术交底表</span></p></td>
<td class="td1"><p class="p1"><span>代号</span></p></td>
<td class="td1"><p class="p2"><span class="s1">${(code)!''}</span></p></td>
<td class="td1" rowspan="2"><p class="p1"><img src="${(qrCode)!''}"
style="width:2in;height:2in;vertical-align:text-bottom;"/>
</p></td>
</tr>
<tr class="r1">
<td class="td1"><p class="p1"><span>编码</span></p></td>
<td class="td1"><p class="p2"><span class="s1">${(number)!''}</span></p></td>
</tr>
<tr class="r1">
<td class="td1"><p class="p1"><span>项目名称</span></p></td>
<td class="td2" colspan="3"><p class="p2"><span class="s1">${(projectName)!''}</span></p></td>
</tr>
<tr class="r1">
<td class="td1"><p class="p1"><span>方案名称</span></p></td>
<td class="td2" colspan="3"><p class="p2"><span class="s1">${(name)!''}</span></p></td>
</tr>
<tr class="r1">
<td class="td1"><p class="p1"><span>主持人</span></p></td>
<td class="td2" colspan="3"><p class="p2"><span class="s1">
<#list hostPersonObject as itemValue>
${(itemValue.personName)!''}
</#list>
</span>
</p>
</td>
</tr>
<tr class="r1">
<td class="td1"><p class="p1"><span>施工负责人</span></p></td>
<td class="td2" colspan="3"><p class="p2"><span class="s1">
<#list constructionDirectorObject as itemValue>
${(itemValue.personName)!''}
</#list>
</span>
</p>
</td>
</tr>
<tr class="r1">
<td class="td1"><p class="p1"><span>安全员</span></p></td>
<td class="td2" colspan="3"><p class="p2"><span class="s1">
<#list safetyOfficerrObject as itemValue>
${(itemValue.personName)!''}
</#list>
</span>
</p>
</td>
</tr>
<tr class="r1">
<td class="td1"><p class="p1"><span>参加交底人员</span></p></td>
<td class="td2" colspan="3"><p class="p2"><span class="s1">
<#list participateDisclosureObject as itemValue>
${(itemValue.personName)!''}
</#list>
</span>
</p>
</td>
</tr>
<tr class="r1">
<td class="td3" colspan="4"><p class="p1"><span>交底主要内容</span></p></td>
</tr>
<tr class="r1">
<td class="td3" colspan="4">
<#if fileList?exists>
<#list fileList as item>
<div class="fileList">
${item}
</div>
</#list>
</#if>
</td>
</tr>
<tr class="r3">
<td class="td1"><p class="p1"><span>记录人</span></p></td>
<td class="td1">
<p class="p2">
<span class="s1">
<#list noteTakerObject as itemValue>
${(itemValue.personName)!''}
</#list>
</span>
</p>
</td>
<td class="td1"><p class="p1"><span>安全技术交底日</span></p></td>
<td class="td1"><p class="p2"><span class="s1">${(createDate?string('yyyy-MM-dd HH:mm:ss'))!''}</span></p></td>
</tr>
<tr class="r1">
<td class="td1"><p class="p1"><span>技术交底附件</span></p></td>
<td class="td2" colspan="3">
<p class="p2">
<span class="s1">
<#if attachment?exists>
<#list attachment as item>
<#if item.personType!='pdf'>
<img height="90" width="160" src="${fileServerUrl + item.filePath}">&nbsp;</img>
</#if>
<#if item.personType=='pdf'>
<a href="${fileServerUrl + item.filePath}">${item.fileName}</a>
</#if>
</#list>
</#if>
</span>
</p>
</td>
</tr>
</tbody>
</table>
<p class="p3"></p>
<p class="p3"></p>
<p class="p3"></p></body>
</html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">.b1 {
white-space-collapsing: preserve;
}
.b2 {
margin: 1.0in 1.25in 1.0in 1.25in;
}
.s1 {
font-weight: bold;
}
.p1 {
text-align: center;
hyphenate: auto;
font-family: Calibri;
font-size: 20pt;
}
.p2 {
text-align: start;
hyphenate: auto;
font-family: Calibri;
font-size: 10pt;
}
.p3 {
text-align: center;
hyphenate: auto;
font-family: Calibri;
font-size: 10pt;
}
.p4 {
text-align: justify;
hyphenate: auto;
font-family: Calibri;
font-size: 10pt;
}
.td1 {
width: 6.0416665in;
padding-start: 0.0in;
padding-end: 0.0in;
border-bottom: thin solid black;
border-left: thin solid black;
border-right: thin solid black;
border-top: thin solid black;
}
.td2 {
width: 1.5090277in;
padding-start: 0.0in;
padding-end: 0.0in;
border-bottom: thin solid black;
border-left: thin solid black;
border-right: thin solid black;
border-top: thin solid black;
}
.td3 {
width: 4.532639in;
padding-start: 0.0in;
padding-end: 0.0in;
border-bottom: thin solid black;
border-left: thin solid black;
border-right: thin solid black;
border-top: thin solid black;
}
.td4 {
width: 1.5104166in;
padding-start: 0.0in;
padding-end: 0.0in;
border-bottom: thin solid black;
border-left: thin solid black;
border-right: thin solid black;
border-top: thin solid black;
}
.td5 {
width: 1.5131944in;
padding-start: 0.0in;
padding-end: 0.0in;
border-bottom: thin solid black;
border-left: thin solid black;
border-right: thin solid black;
border-top: thin solid black;
}
.r1 {
height: 0.32152778in;
keep-together: always;
}
.r2 {
height: 0.9138889in;
keep-together: always;
}
.r3 {
height: 1.2131945in;
keep-together: always;
}
.r4 {
height: 0.34791666in;
keep-together: always;
}
.t1 {
table-layout: fixed;
border-collapse: collapse;
border-spacing: 0;
}</style>
<meta content="DELL" name="author"/>
</head>
<body class="b1 b2">
<table class="t1">
<tbody>
<tr class="r1">
<td class="td1" colspan="4"><p class="p1"><span class="s1">违章记录</span></p></td>
</tr>
<tr class="r1">
<td class="td2"><p class="p3"><span>项目名称</span></p></td>
<td class="td3" colspan="3"><p class="p2">${(projectName)!''}</p></td>
</tr>
<tr class="r1">
<td class="td2"><p class="p3"><span>日期</span></p></td>
<td class="td3" colspan="3"><p class="p2">${(createDate?string('yyyy-MM-dd HH:mm:ss'))!''}</p></td>
</tr>
<tr class="r1">
<td class="td2"><p class="p3"><span>违章性质</span></p></td>
<td class="td3" colspan="3"><p class="p2">${(badType)!''}</p></td>
</tr>
<tr class="r1">
<td class="td2"><p class="p3"><span>违章类型</span></p></td>
<td class="td3" colspan="3"><p class="p2">${(nature)!''}</p></td>
</tr>
<tr class="r2">
<td class="td2"><p class="p3"><span>违章内容</span></p></td>
<td class="td3" colspan="3"><p class="p2">${(badText)!''}</p>
<p class="p2"></p>
<p class="p2"></p></td>
</tr>
<tr class="r3">
<td class="td2"><p class="p3"><span>发起人</span></p></td>
<td class="td2"><p class="p2"></p>${(safetyOfficer)!''}</td>
<td class="td4"><p class="p3"><span>违章照片</span></p></td>
<td class="td5"><p class="p3"></p>
<p class="p2">
<#if badPersonPhoto?exists>
<#list badPersonPhoto as item>
<img height="90" width="160" src="${item}">
</#list>
</#if>
</p></td>
</tr>
<tr class="r1">
<td class="td2"><p class="p3"><span>审核人</span></p></td>
<td class="td3" colspan="3"><p class="p2">${(auditor)!''}</p></td>
</tr>
<tr class="r1">
<td class="td2"><p class="p3"><span>分包商负责人</span></p></td>
<td class="td2"><p class="p2">${(personLiableName)!''}</p></td>
<td class="td4"><p class="p3"><span>所属分包商</span></p></td>
<td class="td5"><p class="p2">${(companyName)!''}</p></td>
</tr>
<#if (badType!="装置性违章")>
<tr class="r4">
<td class="td2"><p class="p3"><span>违章人员</span></p></td>
<td class="td3" colspan="3">
<p class="p2">
<#if badPerson?exists>
<#list badPerson as item>
${(item.personName)!''}
</#list>
</#if>
</p></td>
</td>
</tr>
</#if>
</tbody>
</table>
<p class="p4"></p></body>
</html>
\ No newline at end of file
{
"address": "江西电建",
"clockScope": 100000.0,
"company": "江西电建",
"createDate": 1596677451000,
"email": "adminb@ww.con",
"id": 0,
"introduction": "江西电建",
"jobNum": 1,
"latitude": 28.0,
"longitude": 116.0,
"manager": "admin",
"name": "江西电建",
"orgCode": "1293073537468170241",
"phone": 19999999999,
"pointType": "endmost",
"projectNum": "jxdj123456",
"region": "36,3601,360104",
"startTime": 1596677432000,
"status": "开发"
}
{
"2": "first,keyword1,keyword2,remark"
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
<!-- <include file="classpath:liquibase/init/initTable.xml" relativeToChangelogFile="false"/>-->
<!-- <include file="classpath:liquibase/init/initData.xml" relativeToChangelogFile="false"/>-->
<include file="classpath:liquibase/change/tableChange.xml" relativeToChangelogFile="false"/>
<include file="classpath:liquibase/change/dataChange.xml" relativeToChangelogFile="false"/>
</databaseChangeLog>
\ No newline at end of file
#邮箱地址
send.sms.v.1=https://rtcsms.cn-north-1.myhuaweicloud.com:10743/sms/batchSendSms/v1
#APP_Key
sms.app.key=236D742REg9Ap0E3ZmD5z25c4303
#APP_Secret
sms.app.secret=3q0FT469eWdl0A28UKDH4iwj7uuu
#国内短信签名通道号或国际/港澳台短信通道号---验证类
sms.sender.verify=8820120914553
#国内短信签名通道号或国际/港澳台短信通道号---通知类
sms.sender.notice=8820122407880
#模板ID--验证码
sms.verify.template.id=7cc90f9e928d465fb4c838515a8f9033
#模板ID--审核拒绝---通知类
sms.reject.template.id=0e019be87d964efd8962191ed46fb9de
#签名名称
sms.signature=江西电建
\ No newline at end of file
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