2024-10-25 16:17:26 +08:00

52 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 普普-数元项目
## 介绍
普普数元项目启动类在对应的模块里面 \
测试环境: http://test.uthmeta.com \
正式环境: https://collection.smdmeta.com
<p>
已经集成<text style="color:red">Gitlab-Cli</text>
提交代码后自动部署到<text style="color:red">测试环境</text>
</p>
## 模块说明
### <text style="color:red">code-generation
代码生成器模块, 基于freemark反射mysql, <text style="color:red">resources/template</text> 可以定制各端代码
### <text style="color:red">common 通用模块
>* 文件上传
>* 短信发送(策略模式 + 模板方法)
>* 实名认证
>* 线程池
>* 文昌链
>* 有赞
>* 支付 (枚举 策略模式)
>* SSE 主动推送短连接
>* 数盒
>* 工具类
>* redis操作封装
>* 基于redis实现的mq队列
>* 多数据源filter
### <text style="color:red">nft-admin 后台服务
>包含定时任务 \
SpringBoot + MybatisPlus + knife4j + Shiro
### <text style="color:red">nft-api 前端服务
> 方便集群拓展 \
SpringBoot + MybatisPlus + knife4j + JWT \
OpenAPI为开放接口后台配置securityKey \
Header说明
>* PLATFORM: 后台配置的平台号
>* TIMESTAMP时间戳验签使用
>* SIGN对方平台的摘要信息
## 部署说明
>1. maven打包后上传至Linux服务器。
>2. 运行publish.bat脚本上传文件到服务器。
>3. <text style='color:red'>ps -ef | grep nft</text> 找到所有nft的进程 kill掉。千万不要 -9避免数据丢失
>4. 服务器运行start.sh脚本启动。
admin端口 8088 \
api端口 8081
knife4j地址