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