eye-gu opened a new issue, #5741:
URL: https://github.com/apache/shenyu/issues/5741
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
```js
export async function findSelector(params) {
return request(`${baseUrl}/selector/${params.id}/${params.namespaceId}`, {
method: `GET`,
});
}
```
```java
@GetMapping("/{id}")
public ShenyuAdminResult detailSelector(@PathVariable("id") @Valid
@Existed(provider =
SelectorMapper.class, message = "selector is not existed") final String id) {
SelectorVO selectorVO = selectorService.findById(id);
return ShenyuAdminResult.success(ShenyuResultMessage.DETAIL_SUCCESS,
selectorVO);
}
```
The path for front-end requests is `/selector/{id}/{namespaceId}`, and the
path for back-end requests is `/selector/{id}`
### Expected Behavior
_No response_
### Steps To Reproduce
_No response_
### Environment
```markdown
ShenYu version(s): master
```
### Debug logs
_No response_
### Anything else?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]