quick/scaffold-api-run-and-test #75
Replies: 3 comments 4 replies
-
|
提示:创建和修改接口的方式颠倒了。 |
Beta Was this translation helpful? Give feedback.
-
|
您好,我是一个小白,刚刚接触,在最后测试创建的时候,出现了{"code":51,"message":"The Name field is required","data":null},网上也没搜到解决办法,为什么呢,怎么解决呀 |
Beta Was this translation helpful? Give feedback.
-
|
您好,我按照文档一步一步做的,在启动项目的时候报错了,报错如下: github.com/gogf/gf/v2/net/ghttpC:\Users\17822\go\pkg\mod\github.com\gogf\gf\[email protected]\net\ghttp\ghttp_server.go:300:9: table.SetHeader undefined (type *tablewriter.Table has no field or method SetHeader) 找到报错的go文件,这几行在报错: go的版本是1.23.3,启动项目的时候都能正常运行,不知道问题出现在哪儿,报了跟业务代码不相干的错,其中,mysql数据库密码是强密码,密码中带了@符号,和后面的@符号是否有冲突呢?现在项目运行不起来,不知道对不对 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
quick/scaffold-api-run-and-test
通过命令行启动服务,并使用swagger生成接口文档。支持创建用户、查询用户信息、修改用户数据以及删除用户的RESTful API接口。同时支持使用curl命令进行接口测试,提供详细的校验规则和错误码以确保数据的准确性和可靠性。
https://goframe.org/quick/scaffold-api-run-and-test
Beta Was this translation helpful? Give feedback.
All reactions