后端开发
审友云

本文档是关于 审友云 账户体系后端说明文档,主要内容包括智能审计系统的代码仓库、开发期、打包方式、产品部署和线上环境等信息。

审友云

代码仓库

仓库地址:

名称地址分支
智能审计前端代码http://10.2.112.21:30003/auditcloud/smart-audit-fe (opens in a new tab)master
智能审计后端代码http://10.2.112.21:30003/auditcloud/smart-audit-service (opens in a new tab)master

开发期

  • 先启动后端服务,默认运行端口为 8080
  • 运行 npm run dev 启动前端项目,若后端端口做了修改,则需要同步修改前端项目的 .env.development 文件中的端口

打包方式

人工打包配合流水线打包

流水线访问地址:http://10.2.112.80:18111 (opens in a new tab),用户名密码:admin/admin

后端项目

访问流水线系统 http://10.2.112.80:18111/buildConfiguration/SmartAudit_SmartAuditService_Build (opens in a new tab),点击 Run 运行流水线,等待流水线运行完毕即可。 对应镜像名:10.2.112.21:30050/auditcloud/smart-audit

后端打包流水线

前端项目

1、运行 npm run build:prod 命令打包前端项目,并将 dist 目录提交到代码仓库 2、访问流水线系统 http://10.2.112.80:18111/buildConfiguration/SmartAudit_SmartAuditFe_Build,点击 (opens in a new tab) Run 运行流水线,等待流水线运行完毕即可。 对应镜像名:10.2.112.21:30050/smart-audit/smart-audit-front

前端打包流水线

产品部署

Rancher 部署方式

名称rancher 地址
智能审计前端https://10.2.112.21:8443/p/c-bwtbd:p-rvfqj/workload/deployment:default:smart-audit-fe-new (opens in a new tab)
智能审计后端https://10.2.112.21:8443/p/c-bwtbd:p-rvfqj/workload/deployment:default:smart-audit-server (opens in a new tab)

部署 打包完毕后要去 Rancher 手动点击重新部署才生效

Rancher部署

线上环境

https://saas.yonyouaud.com/ (opens in a new tab)

操作

用户管理菜单位置 https://saas.yonyouaud.com/manage/client-info (opens in a new tab)

用户管理

修改账号信息

修改账号信息

前端使用

https://cloud.yonyouaud.com (opens in a new tab)