蛋蛋星球 后台端
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
dengbiao 58adcab324 add elastsearch 5 dias atrás
app add elastsearch 5 dias atrás
bin Initial commit 4 semanas atrás
cmd/task Initial commit 4 semanas atrás
docs add elastsearch 5 dias atrás
etc add elastsearch 5 dias atrás
k8s update 1 semana atrás
static/html Initial commit 4 semanas atrás
test Initial commit 4 semanas atrás
.gitignore Initial commit 4 semanas atrás
Dockerfile updatea 1 semana atrás
Dockerfile-task Initial commit 4 semanas atrás
Makefile Initial commit 4 semanas atrás
README.md update 1 semana atrás
build.sh update 1 semana atrás
cmd_db.bat Initial commit 4 semanas atrás
cmd_db.sh Initial commit 4 semanas atrás
cmd_run.bat Initial commit 4 semanas atrás
cmd_run.sh Initial commit 4 semanas atrás
cmd_task.bat Initial commit 4 semanas atrás
cmd_task.sh Initial commit 4 semanas atrás
go.mod add elastsearch 5 dias atrás
main.go add elastsearch 5 dias atrás
wap.conf Initial commit 4 semanas atrás
zyos-mall-deployment.yaml Initial commit 4 semanas atrás

README.md

applet

要看 nginx.conf 和 wap conf

层级介绍

  • hdl 做接收数据的报错, 数据校验
  • svc 做数据处理的报错, 数据转换
  • lib 只抛出错误给hdl或者svc进行处理, 不做数据校验
  • db 可以处理db错误,其它错误返回给svc进行处理
  • mw 中间件
  • md 结构体

介绍

蛋蛋星球后台管理项目

软件架构

软件架构说明

安装教程

  1. xxxx
  2. xxxx
  3. xxxx

使用说明

  1. xxxx
  2. xxxx
  3. xxxx

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

swagger

>  参考:https://segmentfault.com/a/1190000013808421

>  swagger 命令行工具
go get -u github.com/swaggo/swag/cmd/swag

//go版本1.16之前使用该命令
go install github.com/swaggo/swag/cmd/swag
//go版本1.16版本以及之后的版本使用该命令
go install github.com/swaggo/swag/cmd/swag@latest

>  swagger 依赖
go get "github.com/swaggo/files"
go get "github.com/swaggo/gin-swagger"


>  生成
swag init

swag init -g main.go -o ./docs --parseDependency (swag 在生成文档时解析外部依赖包)