| | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @Date 2024/11/29 15:58 |
| | | */ |
| | | @FeignClient(contextId = "SystemConfigClient", value = ServiceNameConstants.ORDER_SERVICE, fallbackFactory = SystemConfigClientFallbackFactory.class) |
| | | @FeignClient(contextId = "SystemConfigClient", value = ServiceNameConstants.OTHER_SERVICE, fallbackFactory = SystemConfigClientFallbackFactory.class) |
| | | public interface SystemConfigClient { |
| | | |
| | | |
| | |
| | | @PostMapping("/system-config/getSystemConfig") |
| | | R<SystemConfig> getSystemConfig(@RequestParam("type") Integer type); |
| | | |
| | | @PostMapping("/red-packege-set/get") |
| | | R<BigDecimal> redPackegeSet(); |
| | | |
| | | } |