| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import axios from 'axios';
- export interface ProfileBasicRes {
- status: number;
- video: {
- mode: string;
- acquisition: {
- resolution: string;
- frameRate: number;
- };
- encoding: {
- resolution: string;
- rate: {
- min: number;
- max: number;
- default: number;
- };
- frameRate: number;
- profile: string;
- };
- };
- audio: {
- mode: string;
- acquisition: {
- channels: number;
- };
- encoding: {
- channels: number;
- rate: number;
- profile: string;
- };
- };
- }
- export function queryProfileBasic() {
- return axios.get<ProfileBasicRes>('/api/profile/basic');
- }
- export type operationLogRes = Array<{
- key: string;
- contentNumber: string;
- updateContent: string;
- status: number;
- updateTime: string;
- }>;
- export function queryOperationLog() {
- return axios.get<operationLogRes>('/api/operation/log');
- }
|