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