huangyan ff65f13d97 二次分配订单,保温箱记录修改,添加订单判断是否为手机端添加 | hai 17 horas | |
---|---|---|
app | hai 17 horas | |
cmd | hai 5 meses | |
common | hai 17 horas | |
conf | hai 1 mes | |
db | hai 4 días | |
ssh | hai 6 meses | |
static | hai 6 meses | |
.gitignore | hai 5 meses | |
Dockerfile | hai 6 meses | |
Makefile | hai 6 meses | |
README.md | hai 1 mes | |
docker-compose.yml | hai 6 meses | |
go.mod | hai 1 semana | |
go.sum | hai 1 semana | |
main.go | hai 6 meses | |
openapi.md | hai 2 meses | |
setting.yml | hai 17 horas |
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 - 仅本人数据权限