Commit 64ddd103 by 林冲

代码review

1 parent 9c5ec41d
## 1、【运营日常分析业绩波动并进行问题归因】:
改动代码:
- gsc-vcp-biz:
- 处理历史数据-生成报告图片
- com.gsc4cloud.gsc.vpc.controller.checkreport.CheckReportController#checkReportService
- com.gsc4cloud.gsc.vpc.service.checkreport.CheckReportService#processMissingReportImage
- com.gsc4cloud.gsc.vpc.utils.HtmlToImageUtil#captureAndUpload
- com.gsc4cloud.gsc.vpc.config.JvppeteerConfig
- com.gsc4cloud.gsc.vpc.utils.JvppeteerBrowserFactory
- 影响功能点:
```shell
- 展业助手 APP
报告管理
报告支持分享
```
-----------------------------------------
#### review前:
![img_2.png](img_2.png)
#### review后:
![img_2.png](img_2.png)
review是否通过:通过/不通过
问题描述:无
### 说明:
* 配置要备注【新增】、【修改】、【删除】
* 如果有新的kafka的topic,那就需要额外备注【生产需要创建topic】
### 开发环境
```yaml
# jvppeteer 浏览器配置
jvppeteer:
browser:
# Chromium 下载镜像地址
download-host: https://registry.npmmirror.com
# Windows 浏览器目录
browser-dir-windows: D:\data\chrome
# Linux 浏览器目录
browser-dir-linux: /app/soft
# 可执行文件路径(可选,优先使用系统 Chrome)
executable-path: /app/soft/.local-browser/linux-722234/chrome-linux/chrome
# 无头模式
headless: true
# 对象池配置
pool:
max-total: 5
max-idle: 5
min-idle: 1
max-wait-millis: 10000
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 60000
```
### 测试环境
```yaml
# jvppeteer 浏览器配置
jvppeteer:
browser:
# Chromium 下载镜像地址
download-host: https://registry.npmmirror.com
# Windows 浏览器目录
browser-dir-windows: D:\data\chrome
# Linux 浏览器目录
browser-dir-linux: /app/soft
# 可执行文件路径(可选,优先使用系统 Chrome)
executable-path: /app/soft/.local-browser/linux-722234/chrome-linux/chrome
# 无头模式
headless: true
# 对象池配置
pool:
max-total: 5
max-idle: 5
min-idle: 1
max-wait-millis: 10000
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 60000
```
### 预发布环境
```yaml
# jvppeteer 浏览器配置
jvppeteer:
browser:
# Chromium 下载镜像地址
download-host: https://registry.npmmirror.com
# Windows 浏览器目录
browser-dir-windows: D:\data\chrome
# Linux 浏览器目录
browser-dir-linux: /app/soft
# 可执行文件路径(可选,优先使用系统 Chrome)
executable-path: /app/soft/.local-browser/linux-722234/chrome-linux/chrome
# 无头模式
headless: true
# 对象池配置
pool:
max-total: 5
max-idle: 5
min-idle: 1
max-wait-millis: 10000
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 60000
```
### 线上环境
```yaml
# jvppeteer 浏览器配置
jvppeteer:
browser:
# Chromium 下载镜像地址
download-host: https://registry.npmmirror.com
# Windows 浏览器目录
browser-dir-windows: D:\data\chrome
# Linux 浏览器目录
browser-dir-linux: /app/soft
# 可执行文件路径(可选,优先使用系统 Chrome)
executable-path: /app/soft/.local-browser/linux-722234/chrome-linux/chrome
# 无头模式
headless: true
# 对象池配置
pool:
max-total: 5
max-idle: 5
min-idle: 1
max-wait-millis: 10000
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 60000
```
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!