import request from '../../../utils/request';
import Config from '../../../utils/config';

export const getConfig = data => {
  return request(
    {
      url: Config.apis.schoolPet.common.getConfig,
      method: 'POST',
      data,
    },
    'nothing',
  );
};

export const getList = data => {
  return request(
    {
      url: Config.apis.awards.common.getList,
      method: 'GET',
      data,
    },
    'nothing',
  );
};
export const getDetail = data => {
  return request(
    {
      url: Config.apis.awards.common.getDetail,
      method: 'GET',
      data,
    },
    'nothing',
  );
};
