【工程项目规范/建议】请求 #511
Unanswered
ly525
asked this question in
API 协议|规范|请求(库)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
比如有如下API请求
尽量避免出现
request.get('/crm-app1/' + query.id ? 'edit/user' : '/add/user')
因为线上反馈接口问题,或者服务端希望前端协助排查的时候,大多数给的路径是:
/crm-app1/edit/user
或者/crm-app1/add/user
这类路径Beta Was this translation helpful? Give feedback.
All reactions