import { httpRequest } from '../../../services/http/index' import { HttpRequest } from '../../../services/http/interface' import service from '../../../services/index' /* 查询汇率信息 */ export function queryRates(params: HttpRequest<{req: GuangZuan.RatesReq, rsp: GuangZuan.Rates[]}>) { return httpRequest(service.config.goCommonSearchUrl+'/Common/QueryRates', 'GET', params) } /* 通知公告系统消息查询 */ export function queryNotice(params: HttpRequest<{req: GuangZuan.NoticeReq, rsp: GuangZuan.Notice[]}>) { return httpRequest(service.config.goCommonSearchUrl+'/Common/QueryNotice', 'GET', params) } /* 查询轮播图配置信息 */ export function queryImageConfigs(params: HttpRequest<{req: GuangZuan.ImageConfigsReq, rsp: GuangZuan.ImageConfigs[]}>) { return httpRequest(service.config.goCommonSearchUrl+'/Common/QueryImageConfigs', 'GET', params) } /* 查询发票信息 */ export function queryWrUserReceiptInfo(params: HttpRequest<{req: GuangZuan.WrUserReceiptInfoReq, rsp: GuangZuan.WrUserReceiptInfo[]}>) { return httpRequest(service.config.goCommonSearchUrl+'/WrTrade2/QueryWrUserReceiptInfo', 'GET', params) } /* 查询收货地址信息 */ export function queryUserReceiveInfo(params: HttpRequest<{req: GuangZuan.QueryUserReceiveInfoReq, rsp: GuangZuan.UserReceiveInfo[]}>) { return httpRequest(service.config.goCommonSearchUrl+'/Qhj/QueryUserReceiveInfo', 'GET', params) } /* 查询区域信息 */ export function queryGetDivisions(params: HttpRequest<{req: GuangZuan.GetDivisionsReq, rsp: GuangZuan.GetDivisions[]}>) { return httpRequest(service.config.goCommonSearchUrl+'/Common/GetDivisions', 'GET', params) } /* 总线业务 */ export function sendMsgToMQ(params: HttpRequest<{req: GuangZuan.SendMsgToMQReq, rsp: GuangZuan.SendMsgToMQRsp}>) { return httpRequest(service.config.goAccess+'/MQ/SendMsgToMQ', 'POST', params) } /* 获取所有枚举信息 */ export function getAllEnums(params: HttpRequest<{req: GuangZuan.AllEnumsReq, rsp: GuangZuan.AllEnums[]}>) { return httpRequest(service.config.goCommonSearchUrl+'/Common/GetAllEnums', 'GET', params) } /* 获取数据库错误信息 */ export function queryErrorInfos(params: HttpRequest<{req: GuangZuan.ErrorReq, rsp: GuangZuan.Error[]}>) { return httpRequest(service.config.goCommonSearchUrl+'/Common/QueryErrorInfos', 'GET', params) } /* 获取会员风采表 */ export function getGZMemberInfo(params: HttpRequest<{req: GuangZuan.GzCertAddressParamReq, rsp: GuangZuan.GZMemberInfo[]}>) { return httpRequest(service.config.goCommonSearchUrl+'/Guangzuan/GetGZMemberInfo', 'GET', params) } /* 获取保税商品表 */ export function getGZBSCGoods(params: HttpRequest<{req: GuangZuan.GzCertAddressParamReq, rsp: GuangZuan.GZBSCGoods[]}>) { return httpRequest(service.config.goCommonSearchUrl+'/Guangzuan/GetGZBSCGoods', 'GET', params) }