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

使用node-fetch调用api接口 #57

Closed
QiannanXu opened this issue May 23, 2022 · 1 comment
Closed

使用node-fetch调用api接口 #57

QiannanXu opened this issue May 23, 2022 · 1 comment

Comments

@QiannanXu
Copy link

大佬你好,

我们项目中需要使用nextjs,默认使用的是node-fetch,想问一下是否支持改造auto-service,客户端和服务端都是用fetch而不是axios来发送请求呢?

@gogoyqj
Copy link
Owner

gogoyqj commented May 23, 2022

@QiannanXu 可以通过自定义模板实现

参考 #34,模板可参考 https://github.com/gogoyqj/auto-service/tree/master/plugins/typescript-tkit

@gogoyqj gogoyqj closed this as completed May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants