获取默认ip
This commit is contained in:
@@ -985,6 +985,16 @@ export async function luzhi(roomid: string){
|
||||
console.log(res)
|
||||
}
|
||||
|
||||
export async function getaddr() {
|
||||
const res = await get<any>('ip');
|
||||
const gj = res.data.address.split("|")[0];
|
||||
if(gj == "CN"){
|
||||
return ["zh", "中文", '人民币¥'];
|
||||
}else {
|
||||
return ['en', 'English', '美元$']
|
||||
}
|
||||
}
|
||||
|
||||
// export async function StopMCUMixTranscode(roomid: number) {
|
||||
// const res = await get('StopMCUMixTranscode', {roomid});
|
||||
// console.log(res)
|
||||
|
||||
Reference in New Issue
Block a user