Sen descrición

icole 456566e77f 修正收单统计 %!s(int64=4) %!d(string=hai) anos
asserts ceea92b8dd feat: 添加跨域 %!s(int64=4) %!d(string=hai) anos
etc 737ae96312 feat: 用户登录接口 %!s(int64=4) %!d(string=hai) anos
internal 456566e77f 修正收单统计 %!s(int64=4) %!d(string=hai) anos
model 4710635bba 修正目录结构 %!s(int64=4) %!d(string=hai) anos
sqlconfig 456566e77f 修正收单统计 %!s(int64=4) %!d(string=hai) anos
.drone.yml 96d8d4c15c fix: drone %!s(int64=4) %!d(string=hai) anos
Dockerfile 745597df32 fix: %!s(int64=4) %!d(string=hai) anos
README.md 866c5f5b07 feat: 添加文件服务 %!s(int64=4) %!d(string=hai) anos
go.mod f9b0f7658e 临时提交 %!s(int64=4) %!d(string=hai) anos
go.sum 4710635bba 修正目录结构 %!s(int64=4) %!d(string=hai) anos
i2bill.api 456566e77f 修正收单统计 %!s(int64=4) %!d(string=hai) anos
i2bill.go ceea92b8dd feat: 添加跨域 %!s(int64=4) %!d(string=hai) anos
start.sh d4da763b53 feat: init %!s(int64=4) %!d(string=hai) anos
xorm_test.go f9b0f7658e 临时提交 %!s(int64=4) %!d(string=hai) anos

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