New file |
| | |
| | | package com.kidgrow.oprationcenter.feign; |
| | | |
| | | import com.kidgrow.common.constant.ServiceNameConstants; |
| | | import com.kidgrow.common.model.ResultBody; |
| | | import com.kidgrow.oprationcenter.feign.fallback.ProductOrderFallbackFactory; |
| | | import com.kidgrow.ribbon.config.FeignHttpInterceptorConfig; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br> |
| | | * @Description: 扣费业务相关内部调用 |
| | | * @Project: 运营中心 |
| | | * @CreateDate: Created in 2020-06-27 15:26:33 <br> |
| | | * @Author: <a href="411269194@kidgrow.com">houruijun</a> |
| | | * @version: 1.0 |
| | | */ |
| | | @FeignClient(value = ServiceNameConstants.OPRATION_SERVER,configuration= FeignHttpInterceptorConfig.class, |
| | | fallbackFactory = ProductOrderFallbackFactory.class, decode404 = true) |
| | | public interface ProductOrderService { |
| | | /** |
| | | * 冲试用套餐 用于注册医生自动充值 |
| | | */ |
| | | @PostMapping(value = "contract/saveTemp") |
| | | ResultBody saveProductDetail(@RequestBody Map<String,Object> params); |
| | | } |