Fix api user patch verb does not work (#14358)

### What problem does this PR solve?

Fix api user patch verb does not work

### Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Wang Qi
2026-04-24 17:27:41 +08:00
committed by GitHub
parent 8a2f63e77d
commit b8d831c1c3

View File

@@ -10,7 +10,7 @@ type Service<T extends string> = Record<
(params?: any, urlAppendix?: string) => any
>;
const Methods = ['post', 'delete', 'put'];
const Methods = ['post', 'delete', 'put', 'patch'];
const registerServer = <T extends string>(
opt: Record<T, { url: string; method: string }>,