token.ts 156 B

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