Files
frontend-uniapp/src/api/token.ts
T
2024-12-04 21:50:09 +08:00

6 lines
156 B
TypeScript

import httpClient from './httpClient'
export function createToken(code: string) {
return httpClient.post<{ token: string }>(`/we-chat/tokens/${code}`)
}