diff --git a/backend/crmeb-front/src/main/java/com/zbkj/front/controller/WaUserController.java b/backend/crmeb-front/src/main/java/com/zbkj/front/controller/WaUserController.java index 0a3dae2..fa918fd 100644 --- a/backend/crmeb-front/src/main/java/com/zbkj/front/controller/WaUserController.java +++ b/backend/crmeb-front/src/main/java/com/zbkj/front/controller/WaUserController.java @@ -73,7 +73,7 @@ public class WaUserController { FileInputStream fileInputStream = null; try { // 读取模板PDF文件 - Resource resource = new ClassPathResource("pdf/sign33_contract.pdf"); + Resource resource = new ClassPathResource("pdf/sign_contract_ccd.pdf"); InputStream pdfInputStream = resource.getInputStream(); document = PDDocument.load(pdfInputStream); pdfInputStream.close(); diff --git a/backend/crmeb-front/src/main/resources/application-shccd159.yml b/backend/crmeb-front/src/main/resources/application-shccd159.yml new file mode 100644 index 0000000..d4e9ebb --- /dev/null +++ b/backend/crmeb-front/src/main/resources/application-shccd159.yml @@ -0,0 +1,54 @@ +crmeb: + imagePath: /www/wwwroot/ccd.fwxgpt.com/ # xsj.bosenyuan.com, xsj.bosenyuan.com/ jf.bosenyuan.com/ 服务器图片路径配置 斜杠结尾 + asyncConfig: true #是否同步config表数据到redis + +server: + port: 30031 + +spring: + datasource: + name: yangtangyoupin + type: com.alibaba.druid.pool.DruidDataSource + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://182.92.78.159:3306/${spring.datasource.name}?useUnicode=true&serverTimezone=GMT%2B8&characterEncoding=utf8 + username: yangtangyoupin + password: 5Fn8eWrbYFtAhCZw + redis: + host: 182.92.78.159 #地址 + port: 6379 #端口 + password: '123456' + timeout: 10000 # 连接超时时间(毫秒) + database: 2 #默认数据库 + jedis: + pool: + max-active: 200 # 连接池最大连接数(使用负值表示没有限制) + max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) + max-idle: 10 # 连接池中的最大空闲连接 + min-idle: 0 # 连接池中的最小空闲连接 + time-between-eviction-runs: -1 #逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认-1 + second: + database: 3 # 微信accessToken存储库 + +debug: true +logging: + level: + io.swagger.*: error + com.zbjk.crmeb: debug + org.springframework.boot.autoconfigure: ERROR + config: classpath:logback-spring.xml + file: + path: ./logs + +# mybatis 配置 +mybatis-plus: + # 配置sql打印日志 + configuration: + log-impl: + +#swagger 配置 +swagger: + basic: + enable: true #是否开启界面 + check: false #是否打开验证 + username: crmeb #访问swagger的账号 + password: crmeb.com #访问swagger的密码 diff --git a/backend/crmeb-front/src/main/resources/application.yml b/backend/crmeb-front/src/main/resources/application.yml index 5bb2a4a..02f303b 100644 --- a/backend/crmeb-front/src/main/resources/application.yml +++ b/backend/crmeb-front/src/main/resources/application.yml @@ -32,7 +32,7 @@ server: spring: profiles: - active: miao33 + active: shccd159 servlet: multipart: max-file-size: 50MB #设置单个文件大小 diff --git a/backend/crmeb-front/src/main/resources/banner.txt b/backend/crmeb-front/src/main/resources/banner.txt index 959851b..31ea5d1 100644 --- a/backend/crmeb-front/src/main/resources/banner.txt +++ b/backend/crmeb-front/src/main/resources/banner.txt @@ -1 +1 @@ - `"Y8888Y"' 88 `8b 88 `8' 88 88888888888 88888888P" \ No newline at end of file + `"Y8888Y88 88888888888 88888888P" \ No newline at end of file diff --git a/backend/crmeb-front/src/main/resources/pdf/sign_contract_ccd.pdf b/backend/crmeb-front/src/main/resources/pdf/sign_contract_ccd.pdf new file mode 100644 index 0000000..f462868 Binary files /dev/null and b/backend/crmeb-front/src/main/resources/pdf/sign_contract_ccd.pdf differ diff --git a/backend/crmeb-front/src/main/resources/pdf/sign_contract_jjy.pdf b/backend/crmeb-front/src/main/resources/pdf/sign_contract_jjy.pdf new file mode 100644 index 0000000..6bf6787 Binary files /dev/null and b/backend/crmeb-front/src/main/resources/pdf/sign_contract_jjy.pdf differ