go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

How to get all the api routes and methods in logic?

Open yudan215 opened this issue 2 years ago • 7 comments
trafficstars

go-zero如何在logic获取所有api地址和请求方法

求指点迷津~!

yudan215 avatar Jul 27 '23 15:07 yudan215

Context 注入

smithyj avatar Jul 31 '23 02:07 smithyj

What's the scenarios that you need this feature?

kevwan avatar Aug 05 '23 08:08 kevwan

What's the scenarios that you need this feature?

想在接口把对应的api和请求方法·还有在api设置的doc中文返回,用户可以使用选择的方式选择某些角色需要用到哪些接口

yudan215 avatar Aug 05 '23 10:08 yudan215

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


What's the scenarios that you need this feature?

If you want to return the corresponding api and request method in the interface, as well as the doc Chinese set in the api, the user can use the selection method to select which interfaces need to be used by certain roles

Issues-translate-bot avatar Aug 05 '23 10:08 Issues-translate-bot

Context 注入

请问是否有demo

yudan215 avatar Aug 05 '23 10:08 yudan215

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Context injection

Is there a demo

Issues-translate-bot avatar Aug 05 '23 10:08 Issues-translate-bot

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 10 '24 01:08 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Nov 08 '24 02:11 github-actions[bot]