14 lines
308 B
TypeScript
14 lines
308 B
TypeScript
import { http } from '@/http/alova'
|
|
import type { IJweiXin } from '@/api/types/jwexin'
|
|
|
|
/**
|
|
* 获取微信JSSDK签名
|
|
*/
|
|
export interface IJweiXinSignature {
|
|
url: string
|
|
}
|
|
|
|
export function wxSignature(data: IJweiXinSignature) {
|
|
return http.Get<IJweiXin>('/api/wechat/jsConfig', { params: data })
|
|
}
|