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

Feat enum #95

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Feat enum #95

merged 2 commits into from
Sep 22, 2023

Conversation

lbzss
Copy link
Contributor

@lbzss lbzss commented Sep 22, 2023

PR Submission to cit965

PR 描述

  1. 请简短地描述此PR做了什么。
    将proto文件中定义的request部分字段类型和response部分类型改为枚举值,在http响应中返回数字代替默认的枚举字符串。
    枚举值默认0为UNKNOW

.gitignore文件中增加*.pb.validate.go

🤖 完成以下检查(提交PR后打叉):

  • 代码经过自测
  • 所有的测试用例都已经通过
  • 相关的文档如有需要都已经更新

PR 类型 (复制出所需要的 labels)

/feature

关联Issue

  • 关联的Issue编号:Fix: #(Issue Number)

Fixes #94

📝 提供一些额外的信息或者描述你的测试情境。

@lbzss lbzss requested review from kcxg and Vingurzhou September 22, 2023 05:52
@lbzss lbzss merged commit 37f2899 into cit965:master Sep 22, 2023
@lbzss lbzss deleted the feat-enum branch September 25, 2023 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: 字段类型优化
3 participants