import request from '@/utils/request';
import { AxiosPromise } from 'axios';


export const chartBase = (id?: string): AxiosPromise<any> => {
  return request({
    url: '/zjk-api/chart/chartBase',
    method: 'get',
    params:{
      userId: id
    }
  });
};
export const sameOther = (id?: string): AxiosPromise<any> => {
  return request({
    url: '/zjk-api/chart/sameOther',
    method: 'get',
    params:{
      userId: id
    }
  });
};
export const expertList = (id?: string): AxiosPromise<any> => {
  return request({
    url: '/zjk-api/chart/users',
    method: 'get',
    params:{
      userId: id
    }
  });
};


