説明なし

icole 9da68660d1 提交model 4 年 前
asserts 00be124dcd feat: add qr二维码的生成 4 年 前
etc 737ae96312 feat: 用户登录接口 4 年 前
internal 9da68660d1 提交model 4 年 前
model 9da68660d1 提交model 4 年 前
.drone.yml 96d8d4c15c fix: drone 4 年 前
Dockerfile 745597df32 fix: 4 年 前
README.md 866c5f5b07 feat: 添加文件服务 4 年 前
go.mod 988a949211 Merge branch 'master' of https://git.i2edu.net/i2/i2-bill-api into master 4 年 前
go.sum e7155be719 feat: 获取erp用户信息 4 年 前
i2bill.api 9da68660d1 提交model 4 年 前
i2bill.go e8ccdf5a50 feat: withUnauthorizedCallback 4 年 前
start.sh d4da763b53 feat: init 4 年 前

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