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

Termnal reponse #36

Merged
merged 16 commits into from
Mar 9, 2019
Merged

Termnal reponse #36

merged 16 commits into from
Mar 9, 2019

Conversation

cuisongliu
Copy link
Collaborator

No description provided.


//ResponseError
func ResponseError(response *restful.Response, err error) {
response.WriteEntity(responseObject{Code: 500, Message: err.Error(), Data: ""})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最好还是能支持code传参 优化点

@fanux fanux merged commit bd8f799 into labring:terminal Mar 9, 2019
@cuisongliu cuisongliu deleted the termnal-reponse branch March 9, 2019 15:26
cuisongliu added a commit that referenced this pull request Apr 2, 2019
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.

2 participants