ALICE
ALICE
temporarily fixed with `err.config.headers = JSON.parse(JSON.stringify(err.config.headers));`
Same problem and you can solve it simply by using the x64 version
> 我是定义了统一的http返回结构体 > > ```go > type Response struct { > Code int `json:"code" form:"code"` > Message string `json:"message" form:"message"` > Ts string `json:"ts" form:"ts"` > Reason string `json:"reason" form:"reason"`...
> https://github.com/go-kratos/kratos/blob/9743ad8d32890258177e0335d1a0741e9d45833e/encoding/json/json.go#L18 This only works for type `proto.Message`. ``` golang func (codec) Marshal(v interface{}) ([]byte, error) { if m, ok := v.(proto.Message); ok { return MarshalOptions.Marshal(m) } return json.Marshal(v) }...
> Directly declare the interface without proto definition? If the request body is defined through proto, you can directly use this configuration. I want all the respone be like: ```...
> It is not recommended to use this general structure for the return result of the correct request, but you can solve this problem in other ways, such as proto...
> Because this structure has no meaning in the correct return body, because it is exactly the same, except for time. > > This structure is recommended in the return...
Great, maybe i should think it over to change the design of response.
This issue maybe fixed by this PR: [Chore: skip dns cache for acme challenge](https://github.com/Dreamacro/clash/pull/2469).
I met the problem: `Error: Cannot find module '@app/lib/prisma_client'`, and I add the following code in the tsconfig.json: ``` { "ts-node": { // Do not forget to `npm i -D...