Sin descripción

2637309949 c20b115bcc chore: 调整目录结构 hace 4 años
asserts 00be124dcd feat: add qr二维码的生成 hace 4 años
etc 737ae96312 feat: 用户登录接口 hace 4 años
internal c20b115bcc chore: 调整目录结构 hace 4 años
model 9da68660d1 提交model hace 4 años
.drone.yml 96d8d4c15c fix: drone hace 4 años
Dockerfile 745597df32 fix: hace 4 años
README.md 866c5f5b07 feat: 添加文件服务 hace 4 años
go.mod c20b115bcc chore: 调整目录结构 hace 4 años
go.sum c20b115bcc chore: 调整目录结构 hace 4 años
i2bill.api 15f261a824 Merge branch 'master' of https://git.i2edu.net/i2/i2-bill-api hace 4 años
i2bill.go e8ccdf5a50 feat: withUnauthorizedCallback hace 4 años
start.sh d4da763b53 feat: init hace 4 años

README.md

INSTALL goctl

GO111MODULE=on go get -u git.i2edu.net/i2/go-zero/tools/goctl

GEN API CODE

goctl api go -api i2bill.api -dir .

GEN MODEL

goctl model mysql ddl -c -src model/user.sql -dir model

RUN API GATEWAY

go run i2bill.go -f etc/i2bill-api.yaml

TEST

https://api-test-bill.i2edu.net/api/users/id/1