YqQueryService.java 965 B

12345678910111213141516171819202122
  1. package com.ym.mec.collectfee.service;
  2. import com.ym.mec.collectfee.utils.yqpay.Msg;
  3. import org.springframework.cloud.openfeign.FeignClient;
  4. import org.springframework.web.bind.annotation.RequestMapping;
  5. import org.springframework.web.bind.annotation.RequestMethod;
  6. import org.springframework.web.bind.annotation.RequestParam;
  7. import java.util.Map;
  8. @FeignClient(value = "yqQuery", url = "${yq-pay.query-host}")
  9. public interface YqQueryService {
  10. @RequestMapping(name = "订单查询", value = "/query/trade/tradeQuery", method = RequestMethod.POST)
  11. Msg orderQuery(@RequestParam Map<String, Object> map);
  12. @RequestMapping(name = "用户信息查询", value = "/query/account/queryAccount", method = RequestMethod.POST)
  13. String queryAccount(@RequestParam Map<String, Object> map);
  14. @RequestMapping(name = "对账查询", value = "/query/bill/billQuery", method = RequestMethod.POST)
  15. String billQuery(@RequestParam Map<String, Object> map);
  16. }