crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
crm-platform-feign/src/main/java/com/hz/crm/vo/order/OrderAddVo.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java
@@ -4,6 +4,8 @@ import com.hz.crm.dto.FOrderPageDto; import com.hz.crm.dto.OrderStatusDto; import com.hz.crm.dto.order.refund.RefundDto; import com.hz.crm.vo.order.OrderAddVo; import com.hz.crm.vo.order.OrderConfirmVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -42,4 +44,16 @@ @RequestMapping("/order/user/buy/list") Result userBuyList(@RequestBody FOrderPageDto dto); /** * 积分订单确认 */ @RequestMapping("/order/integral/confirm-order") Result integralOrderConfirm(@RequestBody OrderConfirmVo orderConfirmVo); /** * 积分订单下单 */ @RequestMapping("/order/integral/add") Result integralOrderAdd(@RequestBody OrderAddVo orderAddVo); } crm-platform-feign/src/main/java/com/hz/crm/vo/order/OrderAddVo.java
New file @@ -0,0 +1,55 @@ package com.hz.crm.vo.order; import lombok.Data; import java.util.List; /** * @author CJH */ @Data public class OrderAddVo { /**门店编码*/ private String shopNo; /**所属预约用户*/ private String hisUserId; /**生日,格式:yyyy-MM-dd*/ private String birthday; /**确认商品*/ private List<ConfirmGoodsVo> goodsList; /**支付方式(OrderGeneralConstants)*/ private Integer paymentMethod = PAYMENT_METHOD_ONLINE; /**订单备注*/ private String remark; /**员工角色标识*/ private String staffRoleId; /**员工名称*/ private String staffId; /**员工名称*/ private String staffName; /***********收件************/ /**收件-联系人*/ private String linkMan; /**收件-联系电话*/ private String linkTel; /**收件-地址-省*/ private String province; /**收件-地址-市*/ private String city; /**收件-地址-区*/ private String area; /**收件-地址-街道*/ private String street; /**收件-地址-详细*/ private String addrDetail; /**支付方式-线上*/ public static final int PAYMENT_METHOD_ONLINE = 1; /**支付方式-线下*/ public static final int PAYMENT_METHOD_OFFLINE = 2; }