import request, { Response } from '~/api/request';

export interface ListTagResp {
  id: number;
  tagName: string;
  tagImg?: string;
  tagDescription: string;
  createTime: string;
}

// eslint-disable-next-line import/no-anonymous-default-export
export default {
  // 加盟标签列表
  listTag: (): Promise<Response<Array<ListTagResp>>> => {
    return request('/userapp/cooperation/listTag');
  },
};
