作者本科毕业设计项目 期待您的捐赠支持
XPay个人免签收款支付系统 无需挂机App 自动回调

个人机器学习笔记
Spring Cloud版








xmall 文件夹提供部分依赖与sql文件generatorSqlmapCustom 文件夹为 Mybatis Generator 逆向生成工具,且已配置好maven插件git clone https://github.com/Exrick/xmall.gitxmall-common - utils 中找到修改,XPay邮箱配置在 manager-service与sso-service 中File-Open 直接打开xmall项目,点击右下角 Import Changes 等待安装完依赖即可xmall 数据库,运行sql文件,注意在有 db.properties 的模块中修改你的数据库连接配置mvn install 命令xmall-parent xmall-common 以外其它所有6个服务,且都已配置好Tomcat插件, 执行命令 mvn tomcat7:run 或在IDEA中使用插件(View - Tool Buttons - 右侧菜单Maven Projects - tomcat7 - tomcat7:run)运行即可,当然可自行配置ES-IK分词插件词典库扩展
http://localhost:8888/getDictList 和 http://localhost:8888/getStopDictList,将以上2个接口配置进IK插件扩展配置文件{conf}/analysis-ik/config/IKAnalyzer.cfg.xml 或者 {plugins}/elasticsearch-analysis-ik-*/config/IKAnalyzer.cfg.xml中即可,示例:```xml <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> IK Analyzer 扩展配置
<entry key="remote_ext_dict">http://localhost:8888/getDictList</entry>
<entry key="remote_ext_stopwords">http://localhost:8888/getStopDictList</entry>
``
- 限流
-xmall-front-web中已配置限流,配置文件resource.properties` 中可配置全局限流,示例:
```properties
#启用全局限流
xmall.rateLimit.enable=true
#每1秒内
xmall.rateLimit.timeout=1000
#限制10个请求
xmall.rateLimit.limit=10
```
java
@RateLimiter(limit = 1, timeout = 5000)$ claude mcp add xmall \
-- python -m otcore.mcp_server <graph>