|
@@ -294,9 +294,10 @@ public class WxController extends BaseController {
|
|
|
order.setPhoneType(wxOrderDTO.getPhoneType()); //手机类型 1:苹果 2:安卓
|
|
|
order.setForeType(wxOrderDTO.getForeType()); //前端类型 1:app 2:小程序 3:公众号
|
|
|
order.setTotal(Integer.parseInt(baziPriceStr));
|
|
|
- if(wxOrderDTO.getForeType()==2) {
|
|
|
- order.setProfitSharing(1); //待分账
|
|
|
- }
|
|
|
+// if(wxOrderDTO.getForeType()==2) {
|
|
|
+// order.setProfitSharing(1); //待分账
|
|
|
+// }
|
|
|
+ order.setProfitSharing(1); //待分账
|
|
|
order.setOrderStatus(OrderStatusEnum.PROCESSING.getCode());
|
|
|
wxOrderService.save(order);
|
|
|
return Response.success(placeXcxWxOrder(order, "八字排盘"));
|