| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- 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}>) {
- console.log(params.data)
- 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)
- }
|