import ajax from './ajax'
import { LOCATION_URL } from '@/config/config'

// 1. 定义基础路径
// const BASE_URL = '/huiqicha'
const BASE_URL = LOCATION_URL
// const BASE_URL = 'https://lhlas-dev.zrubft.com'
// const BASE_URL = 'http://158.226.90.148:10022'
// const BASE_URL = 'http://158.234.145.74:8099'

// 查询关注信息
// export const postAttentionInfo = (pageNum,pageSize,groupId) => ajax(BASE_URL + `/huiqicha/mobile/attention/queryMobileAttentionInfos?groupId=${groupId}&pageNum=${pageNum}&pageSize=${pageSize}`, {}, 'POST');

// 获取工商信息
export const postBaseInfo = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/getBaseInfo`, params, 'POST');

// 获取高管信息
export const postQueryManagerInfo = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryManagerInfos`, params, 'POST');

// 获取股东信息
export const postQueryPartnerInfo = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryPartnerInfos`, params, 'POST');

// 获取年报信息
export const postQueryAnnualInfo = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryAnnualInfos`, params, 'POST');

//年报基本信息
export const getTAnnualBasicinfo = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/getTAnnualBasicinfo`, params, 'POST');

//年报股东出资信息
export const queryTAnnualPartner = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryTAnnualPartner`, params, 'POST');

//年报对外投资
export const queryTAnnualInvestinfo = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryTAnnualInvestinfo`, params, 'POST');

//年报网站
export const queryTAnnualWebsite = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryTAnnualWebsite`, params, 'POST');

//年报资产状况
export const getTAnnualAssets = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/getTAnnualAssets`, params, 'POST');

//年报资产状况
export const queryTAnnualProvideassurance = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryTAnnualProvideassurance`, params, 'POST');

//年报股权变更
export const queryTAnnualStockchange = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryTAnnualStockchange`, params, 'POST');

//年报社保
export const getTAnnualSocialsecurity = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/getTAnnualSocialsecurity`, params, 'POST');

// 获取历史变更
export const postQueryChangeInfo = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryChangeInfos`, params, 'POST');

// 获取历史变更-变更类型（旧）
export const postQueryChangeType = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryChangeType`, params, 'POST');

// 获取历史变更-变更类型(新)
export const queryTypeItem = (params) => ajax(BASE_URL + `/huiqicha/system/dict/data/queryTypeItem`, params, 'POST');

// 获取历史变更-变更年份
export const postQueryChangeYear = (params) => ajax(BASE_URL + `/huiqicha/mobile/customer/information/queryChangeYear`, params, 'POST');

// 获取经营异常
export const postQueryOperateexception = (params) => ajax(BASE_URL + `/huiqicha/mobile/operate/risk/queryOperateexception`, params, 'POST');

// 获取欠税公告
export const postQueryTaxOwe = (params) => ajax(BASE_URL + `/huiqicha/mobile/operate/risk/queryTaxOwe`, params, 'POST');

// 获取行政处罚
export const postQueryPenaltyo = (params) => ajax(BASE_URL + `/huiqicha/mobile/operate/risk/queryPenalty`, params, 'POST');

// 获取违法行为
export const postQuerySeriousviolation = (params) => ajax(BASE_URL + `/huiqicha/mobile/operate/risk/querySeriousviolation`, params, 'POST');

// 获取税收违法
export const postQueryTaxIllegal = (params) => ajax(BASE_URL + `/huiqicha/mobile/operate/risk/queryTaxIllegal`, params, 'POST');

// 获取司法拍卖
export const postQueryAuction = (params) => ajax(BASE_URL + `/huiqicha/mobile/operate/risk/queryAuction`, params, 'POST');

// 获取司法拍卖-拍卖结果
export const postQueryAuctionStatus = (params) => ajax(BASE_URL + `/huiqicha/mobile/operate/risk/queryAunctionStatus`, params, 'POST');

// 获取司法拍卖-拍卖类型
export const postQueryAuctionType = (params) => ajax(BASE_URL + `/huiqicha/mobile/operate/risk/queryMarkType`, params, 'POST');

// 获取法院公告
export const postQueryIllegalCourt = (params) => ajax(BASE_URL + `/huiqicha/mobile/illegal/queryIllegalCourtPage`, params, 'POST');

// 获取法院公告-公告类型
export const postQueryCateGory = (params) => ajax(BASE_URL + `/huiqicha/mobile/illegal/queryCateGory`, params, 'POST');

// 获取法院公告-年份
export const postQueryYear = (params) => ajax(BASE_URL + `/huiqicha/mobile/illegal/queryYear`, params, 'POST');

// 获取失信信息
export const postQueryIllegalShixin = (params) => ajax(BASE_URL + `/huiqicha/mobile/illegal/queryIllegalShixinPage`, params, 'POST');

// 获取被执行人信息
export const postQueryIllegalZhixing = (params) => ajax(BASE_URL + `/huiqicha/mobile/illegal/queryIllegalZhixingPage`, params, 'POST');

// 获取限制高消费
export const postQueryIllegalLimit = (params) => ajax(BASE_URL + `/huiqicha/mobile/illegal/queryIllegalLimitHighconsumePage`, params, 'POST');

// 获取限制高消费-年份
export const postQueryLimitYear = (params) => ajax(BASE_URL + `/huiqicha/mobile/illegal/queryLimitYear`, params, 'POST');

// 获取裁判文书
export const postQueryIllegalJudgement = (params) => ajax(BASE_URL + `/huiqicha/mobile/illegal/queryIllegalJudgementPage`, params, 'POST');

// 获取裁判文书-案件类型
export const postQueryCaseType = (params) => ajax(BASE_URL + `/huiqicha/mobile/illegal/queryCaseType`, params, 'POST');

// 获取裁判文书-案由
export const postQueryCaseReson = (params) => ajax(BASE_URL + `/huiqicha/mobile/illegal/queryCaseReson`, params, 'POST');

// 获取行政许可
export const postQueryMonitorCredit = (params) => ajax(BASE_URL + `/huiqicha/mobile/manage/queryMonitorCreditChinaLicensePage`, params, 'POST');

// 获取行政许可-许可机关
export const postQueryGory = (params) => ajax(BASE_URL + `/huiqicha/mobile/manage/queryCateGory`, params, 'POST');

// 获取融资信息
export const postManageFinancing = (params) => ajax(BASE_URL + `/huiqicha/mobile/manage/queryManageFinancingPage`, params, 'POST');

// 获取融资信息-融资轮次
export const postFinancingRound = (params) => ajax(BASE_URL + `/huiqicha/mobile/manage/queryFinancingRound`, params, 'POST');

// 获取进出口情况
export const postImportExport = (params) => ajax(BASE_URL + `/huiqicha/mobile/manage/getImportExportDetail`, params, 'POST');

// 获取舆情信息
export const postManageNews = (params) => ajax(BASE_URL + `/huiqicha/mobile/manage/queryManageNewsPage`, params, 'POST');

// 获取招投标信息
export const postBiddingBaseinfo = (params) => ajax(BASE_URL + `/huiqicha/mobile/manage/queryManageCompanyBiddingBaseinfoPage`, params, 'POST');

// 获取招投标信息-公告类型
export const postDocchannel = (params) => ajax(BASE_URL + `/huiqicha/mobile/manage/querydocchannel`, params, 'POST');

// 获取招投标信息-发布日期
export const postBaseinfoYear = (params) => ajax(BASE_URL + `/huiqicha/mobile/manage/queryCompanyBiddingBaseinfoYear`, params, 'POST');

// 获取招投标信息-省份地区
export const postBiddingCity = (params) => ajax(BASE_URL + `/huiqicha/mobile/manage/queryCity`, params, 'POST');

// 获取商标信息
export const postTTmPage = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryTTmPage`, params, 'POST');

// 获取商标信息-状态
export const postTmStatus = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryTmStatus`, params, 'POST');

// 获取商标信息-分类
export const postIntCls = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryIntCls`, params, 'POST');

// 获取商标信息-申请日
export const postApplyYear = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryApplyYear`, params, 'POST');

// 获取商标信息-注册日
export const postPublishYear = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryPublishYear`, params, 'POST');

// 获取专利信息
export const postTPatentPage = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryTPatentPage`, params, 'POST');

// 获取专利信息-类型
export const postKindCodeDesc = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryKindCodeDesc`, params, 'POST');

// 获取专利信息-状态
export const postLegalStatus = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryLegalStatus`, params, 'POST');

// 获取专利信息-申请日
export const postApplyDate = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryPatentApplyDate`, params, 'POST');

// 获取专利信息-公开日
export const postPublishDate = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryPatentPublishDate`, params, 'POST');

// 获取软件著作权信息
export const postCopyrightPage = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/querySoftwareCopyrightPage`, params, 'POST');

// 获取软件著作权信息-登记日期
export const postCopyrightSoftRegisterDate = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryCopyrightSoftRegisterDate`, params, 'POST');

// 获取作品著作权信息
export const postCopyrightsCopyrightPage = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryCopyrightsCopyrightPage`, params, 'POST');

// 获取软件著作权信息-作品类别
export const postCopyrightCategory = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryCopyrightCategory`, params, 'POST');

// 获取软件著作权信息-登记日期
export const postCopyrightRegisterDate = (params) => ajax(BASE_URL + `/huiqicha/mobile/copyright/queryCopyrightRegisterDate`, params, 'POST');


