INotifyPaymentV1InnerServiceSMO.java 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright 2017-2020 吴学文 and java110 team.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.java110.intf.acct;
  17. import com.alibaba.fastjson.JSONObject;
  18. import com.java110.config.feign.FeignConfiguration;
  19. import com.java110.dto.payment.NotifyPaymentOrderDto;
  20. import org.springframework.cloud.openfeign.FeignClient;
  21. import org.springframework.http.ResponseEntity;
  22. import org.springframework.web.bind.annotation.RequestBody;
  23. import org.springframework.web.bind.annotation.RequestMapping;
  24. import org.springframework.web.bind.annotation.RequestMethod;
  25. /**
  26. * 类表述: 服务之前调用的接口类,不对外提供接口能力 只用于接口建调用
  27. * add by 吴学文 at 2021-12-21 13:05:25 mail: 928255095@qq.com
  28. * open source address: https://gitee.com/wuxw7/MicroCommunity
  29. * 官网:http://www.homecommunity.cn
  30. * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
  31. * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
  32. */
  33. @FeignClient(name = "acct-service", configuration = {FeignConfiguration.class})
  34. @RequestMapping("/notifyPaymentV1Api")
  35. public interface INotifyPaymentV1InnerServiceSMO {
  36. /**
  37. * 查询<p>小区楼</p>总记录数
  38. *
  39. * @param notifyPaymentOrderDto 数据对象分享
  40. * @return 小区下的小区楼记录数
  41. */
  42. @RequestMapping(value = "/notifyPayment", method = RequestMethod.POST)
  43. public ResponseEntity<String> notifyPayment(@RequestBody NotifyPaymentOrderDto notifyPaymentOrderDto);
  44. }