feat: 生产部署 + 会议全链路 (执行方分配/费用结算/签到脱敏/H5相机)
- 生产 nginx 三路径: ry-vue3 /hg/, ry-h5 /camera/, API /hg-api, .env 分环境 - 签约链接/摄像头 base-url 走 yml, 不再硬编码 /hg 与 localhost - 新增 biz_project_executor_assign (镜像 sponsor_assign) 执行方项目级分配 - 会议费用后台汇总 FeeCalcScheduler + 结算回写项目金额 + 状态流转调度 - 签到表拍照高斯模糊脱敏 extra_oss_url, 新增 PosterService/StageDeriver - 清理 biz_support_intent 旧表 (6 Java/XML 删除) - ry-h5 相机黑屏修复: 显式 video.play() + 动态 apiBase 上传 - 资源: simhei 字体 / logo.png / qrcode_1.png / favicon.ico Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
package com.ruoyi.web.controller.common;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.config.RuoYiConfig;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
|
||||
/**
|
||||
* 扫码拍照相机配置服务
|
||||
*
|
||||
* <p>前端生成二维码前调用, 拿到相机 H5 网页基础地址 (ruoyi.camera.base-url),
|
||||
* 再拼接 ry-h5 页面路由 + meetingId + subType.
|
||||
*
|
||||
* <p>公开访问, 无需 token (SecurityConfig 已对 /common/camera/** 公开).
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/common/camera")
|
||||
public class CameraController
|
||||
{
|
||||
@org.springframework.beans.factory.annotation.Autowired
|
||||
private RuoYiConfig ruoyiConfig;
|
||||
|
||||
/**
|
||||
* 返回相机网页基础地址
|
||||
* @return {baseUrl: "http://localhost:8090/camera/"}
|
||||
*/
|
||||
@GetMapping("/config")
|
||||
public AjaxResult config()
|
||||
{
|
||||
AjaxResult ajax = AjaxResult.success();
|
||||
String baseUrl = ruoyiConfig.getCamera() != null ? ruoyiConfig.getCamera().getBaseUrl() : null;
|
||||
ajax.put("baseUrl", baseUrl);
|
||||
return ajax;
|
||||
}
|
||||
}
|
||||
@@ -5,9 +5,9 @@ spring:
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
druid:
|
||||
master:
|
||||
url: jdbc:mysql://127.0.0.1:3306/guoju0808?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://mmos.uvwcloud.com:3306/guoju0808?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: cu2oh2co3
|
||||
password: Qljl1rh_
|
||||
slave:
|
||||
enabled: false
|
||||
url:
|
||||
|
||||
@@ -30,12 +30,16 @@ ruoyi:
|
||||
accessKeySecret: UIkwjMpmlYjgX5IMLjPj8FQNPthdlR
|
||||
signName: 北京仙仁掌医学科技发展
|
||||
template: SMS_321560247
|
||||
inviteTemplate: SMS_492460505
|
||||
esignTemplate: SMS_492460505
|
||||
esignBaseUrl: https://ringdoctor.com/hg
|
||||
endpoint: dysmsapi.aliyuncs.com
|
||||
regionId: cn-hangzhou
|
||||
# 发票 OCR (ry-ocr 微服务, PaddleOCR + FastAPI, 默认 http://127.0.0.1:8801)
|
||||
ocr:
|
||||
base-url: http://127.0.0.1:8801
|
||||
# 扫码拍照 (ry-h5 相机网页地址, 前端二维码目标 URL)
|
||||
camera:
|
||||
base-url: https://ringdoctor.com/camera/
|
||||
|
||||
# 开发环境配置
|
||||
server:
|
||||
@@ -58,9 +62,9 @@ server:
|
||||
# 日志配置
|
||||
logging:
|
||||
level:
|
||||
com.ruoyi: debug
|
||||
org.springframework: debug
|
||||
com.ruoyi.business: debug
|
||||
com.ruoyi: info
|
||||
org.springframework: info
|
||||
com.ruoyi.business: info
|
||||
|
||||
# 用户配置
|
||||
user:
|
||||
|
||||
Reference in New Issue
Block a user