Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor launch_screen and user login #21

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ kitex-update-%:
# TODO: 这个和 Kitex 的区别在于这个 update 实际上做了 gen 的工作,就直接这么用了
.PHONY: hertz-gen-api
hertz-gen-api:
hz update -idl ./idl/api.thrift

hz model -idl ./idl/api.thrift --out_dir ./cmd/api && \
hz update -idl ./idl/api.thrift --out_dir ./cmd/api --use ${MODULE}/cmd/api/biz/model && \
swag init --dir ./cmd/api --output ./docs/swagger --outputTypes "yaml"
# 单元测试
.PHONY: test
test:
Expand Down
2 changes: 1 addition & 1 deletion cmd/api/.hz
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by hz. DO NOT EDIT.

hz version: v0.9.1
hz version: v0.8.0
handlerDir: ""
modelDir: ""
routerDir: ""
7 changes: 3 additions & 4 deletions cmd/api/biz/handler/api/class_room_service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

214 changes: 214 additions & 0 deletions cmd/api/biz/handler/api/launch_screen_service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 70 additions & 4 deletions cmd/api/biz/handler/api/user_service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading