https://github.com/xinliangnote/go-gin-api/blob/4530dab87b1b412f65af1bc9f853ebb6b57e9aaa/internal/pkg/core/error.go#L73 <img width="362" alt="image" src="https://user-images.githubusercontent.com/8914241/232490277-d1f3f38b-5f7c-4781-857f-94040b1452e1.png"> API报错内容不够具体,只会报错code对应的error,自定义的error message不会暴露出来;可以加上e.stackError.Error()