/*
 * @Author: yufan 56580223@qq.com
 * @Date: 2022-12-17 17:13:57
 * @LastEditors: yufan 56580223@qq.com
 * @LastEditTime: 2022-12-17 17:14:19
 * @FilePath: /bookPc/src/api/publicApi.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { HttpResponse } from '@/@type';
import Axios from './axios';

const api = {
  getTenant: '/fighter-tenant-manage/tenant', //租户信息
};

interface listByCataCode {
  cataCode: string;
}

class publicFn {
  static async getTenant(params): Promise<HttpResponse> {
    return Axios(api.getTenant + '/' + params, {
      method: 'get',
      // responseType: 'json',
    });
  }
}

export default publicFn;
