# MorkData **Repository Path**: GengPu/mork-data ## Basic Information - **Project Name**: MorkData - **Description**: 通过接口完成对模拟数据,模拟数据的方式有多种 - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2023-10-26 - **Last Updated**: 2025-08-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MorkData #### 介绍 通过接口完成对模拟数据,模拟数据的方式有多种 #### 软件架构 详见项目目录下 /docs/pumls/优化后的并发型数据生成过程.puml #### 安装教程 插件需要安装 1. PlantUML Integration [链接](https://plugins.jetbrains.com/plugin/7017-plantuml-integration) 2. asciidoc [链接](https://plugins.jetbrains.com/plugin/7391-asciidoc) #### 打包说明 打包前请注意,在下面这个测试类中,我添加了 _F:\\DATA\\demo\\demo001-1000.csv_ 文件地址作为测试内容,后续可能会改成tmp目录中的文件并自动删除,或者搞成 linux 目录形式,有需要的话提 issues 吧。 > org.groupg.mockdatabyspring.morkdata.controller.DataFileCreateTest 1. gradlew bootJar 2. 原生镜像需要使用 graalvm 17 以及 VS 2022 安装 c++库 #### 使用说明 启动项目就能看到相关链接 ``` 下列内容在通过 Jar 包启动时才有用! 打包命令为 gradlew bootJar 接口文档地址 http://192.168.1.7:9999/docs/index.html 接口文档地址 http://localhost:9999/docs/index.html javadoc文档地址 http://192.168.1.7:9999/javadoc/index.html javadoc文档地址 http://localhost:9999/javadoc/index.html 下列内容在启动后就有用! swagger接口文档地址 http://192.168.1.7:9999/api-ui.html swagger接口文档地址 http://localhost:9999/api-ui.html ``` 生成的文件内容 类似: ``` ACCOUNT,CNNAME,EMAIL,Mobile,USERSTATE,ORGCODE,PWD,CREATETIME,CERTTYPE,CERTNO 777244,孙xx,WWFPCJ@656.com,18024408686,ONJOB,686220,661530,2005-17-14,10,724983624780245107 759339,钱x,eZEhDkmW@778.com,14108793323,RESIGN,463680,71533,2084-03-07,10,090209129571551 067747,赵x,drDThNQn@056.com,13823960014,RESIGN,441230,52447,2053-06-26,10,084585306353590 881997,钱x,ZDeKqi@001.com,15665574982,RESIGN,169140,649600,2087-04-19,10,04412697233914531x ``` #### 未来计划 - :fa-square-o: 自定义行模板 - :fa-square-o: 支持非结构化数据类型 - :fa-square-o: 单次生成多种数据 #### 参与贡献 代码需要加注释。谢谢 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)