| 1234567891011121314151617181920212223242526272829 |
- package com.zhongshu.payment.client.service;
- import com.github.microservice.net.ResultContent;
- import com.zhongshu.payment.client.model.WalletModel;
- import com.zhongshu.payment.client.model.param.AmountUpdateParam;
- import com.zhongshu.payment.client.payModel.commn.CreateOrderParam;
- import com.zhongshu.payment.client.types.WalletType;
- import org.springframework.cloud.openfeign.FeignClient;
- import org.springframework.http.MediaType;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RequestMethod;
- import org.springframework.web.bind.annotation.RequestParam;
- import javax.validation.Valid;
- /**
- * @author
- */
- @FeignClient("paymentserver/manager/orderPay")
- public interface OrderPayFeignService {
- /**
- * 创建订单和支付
- */
- @RequestMapping(value = "createAndPay", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
- ResultContent createAndPay(@RequestBody @Valid CreateOrderParam param);
- }
|