index.ts 890 B

123456789101112131415161718
  1. import { httpRequest } from '../../../services/http/index'
  2. import { HttpRequest } from '../../../services/http/interface'
  3. import service from '../../../services/index'
  4. /* 查询汇率信息 */
  5. export function queryRates(params: HttpRequest<{req: GuangZuan.RatesReq, rsp: GuangZuan.Rates[]}>) {
  6. return httpRequest(service.config.goCommonSearchUrl+'/Common/QueryRates', 'GET', params)
  7. }
  8. /* 通知公告系统消息查询 */
  9. export function queryNotice(params: HttpRequest<{req: GuangZuan.NoticeReq, rsp: GuangZuan.Notice[]}>) {
  10. return httpRequest(service.config.goCommonSearchUrl+'/Common/QueryNotice', 'GET', params)
  11. }
  12. /* 查询轮播图配置信息 */
  13. export function queryImageConfigs(params: HttpRequest<{req: GuangZuan.QueryImageConfigsReq, rsp: GuangZuan.QueryImageConfigs[]}>) {
  14. return httpRequest(service.config.goCommonSearchUrl+'/Common/QueryImageConfigs', 'GET', params)
  15. }