huangyan 34fef14604 保温箱记录,冰排记录 | 8 hodín pred | |
---|---|---|
app | 8 hodín pred | |
cmd | 4 mesiacov pred | |
common | 8 hodín pred | |
conf | 1 mesiac pred | |
db | 8 hodín pred | |
ssh | 6 mesiacov pred | |
static | 6 mesiacov pred | |
.gitignore | 4 mesiacov pred | |
Dockerfile | 6 mesiacov pred | |
Makefile | 6 mesiacov pred | |
README.md | 1 mesiac pred | |
docker-compose.yml | 6 mesiacov pred | |
go.mod | 1 týždeň pred | |
go.sum | 1 týždeň pred | |
main.go | 6 mesiacov pred | |
openapi.md | 2 mesiacov pred | |
setting.yml | 1 týždeň pred |
go env -w GOPRIVATE=https://gogs.baozhida.cn
go mod edit -replace gogs.baozhida.cn/zoie/OAuth-core=${Yours_Path}/OAuth-core
go mod edit -replace gogs.baozhida.cn/zoie/OAuth-core=/Users/work/bzd_project/OAuth-core
go gorm
开发前需要安装以下工具
参考 conf/setting.yml
# windows
go build main.go
# macOS or linux
make build
# windows
env GOOS=windows GOARCH=amd64 go build main.go
# macOS or linux
env GOOS=linux GOARCH=amd64 go build main.go
启动冷链 FRPC
# macOS or linux 下使用
$ ./cold-delivery server -c conf/settings.yml
# 注意:windows 下使用
$ cold-delivery.exe server -c conf/settings.yml
./ssh/swag.sh
swag init --parseDependency --parseInternal
swag init --parseDependency --parseDepth=6
http://localhost:port/swagger/index.html
1 - 全部数据权限
3 - 本机构数据权限
4 - 本机构及以下数据权限
5 - 仅本人数据权限