type GetById struct { ID float64 json:"id" form:"id" } 这里的Id 改成 ID,校验参数是否输入 同时修改调用的地方
json:"id" form:"id"
git checkout master
git pull https://gitee.com/RoseKissYou/gin-vue-admin.git master
git push origin master