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

修复BUG,如果在这里数据库查询出现错误会导致问题 #1136

Merged
merged 1 commit into from
Jun 22, 2022
Merged

Commits on Jun 22, 2022

  1. 修复BUG

    如果在这里数据库查询出现错误,err != nil 就会两次返回 出现返回结果为
    
    {"code":7,"data":{},"msg":"设置失败"}{"code":0,"data":{},"msg":"设置成功"}
    这种形式,导致vue js无法正确处理返回
    realpg committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    f753bce View commit details
    Browse the repository at this point in the history