You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
420 B
20 lines
420 B
3 years ago
|
/*
|
||
|
* @Author: ch
|
||
|
* @Date: 2022-06-12 14:06:01
|
||
|
* @LastEditors: ch
|
||
|
* @LastEditTime: 2022-06-13 09:52:55
|
||
|
* @Description: file content
|
||
|
*/
|
||
|
|
||
|
import {axiosTk} from "../axiosTk";
|
||
|
import { ToAsyncAwait } from "../utils";
|
||
|
const BASE_URL = '/mall/im';
|
||
|
|
||
|
/**
|
||
|
* 获取soket登录秘钥
|
||
|
*/
|
||
|
export const ApiGetSoketTicket = () => ToAsyncAwait(axiosTk.get(`${BASE_URL}/ticket`, {
|
||
|
params: {
|
||
|
ticketType: 'CONNECT_TICKET'
|
||
|
}
|
||
|
}));
|