Commit ec4e16e5 by ping.wu

买券订单对接新参数

parent 20911fed
......@@ -944,6 +944,9 @@ public class SellCouponOrderServiceImpl implements OrderFactoryService {
request.setOrderExtended(orderAdapter.saveStoreInfo(storeInfo));
request.setOperator(userLoginInfoDto.getNickName());
request.setAppId(userLoginInfoDto.getWxAppId());
request.setUserMobile(userLoginInfoDto.getMobile());
//2:虚拟商品订单
request.setPhysicalGoodsFlag(2);
return request;
}
......
......@@ -256,6 +256,16 @@ public class CreateOrderRequest extends BaseRequest {
private Integer orderVersion = 1;
/**
* 实物商品订单标记 1:实物商品订单 2:虚拟商品订单 (之前的一些卖券单(biz=6)等,都没有传递该标记,所以默认为0)
*/
private Integer physicalGoodsFlag;
/**
* 下单用户手机号(小程序用户下单时绑定的手机号,非(收货人/联系人)手机号)
*/
private String userMobile;
@Data
public static class ChooseGood {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment