|
|
@@ -4079,7 +4079,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, PjOrder> implemen
|
|
|
}
|
|
|
}
|
|
|
String stata = sysClient.getParamService("WeChat.shipping.notification");
|
|
|
- if ("1".equals(stata)){
|
|
|
+ if ("1".equals(stata) && pjOrder.getBusinessSource().equals(OrderTypeEnum.XCX.getType())){
|
|
|
Parameters parameters = parametersService.getParametersOne();
|
|
|
if (ObjectUtils.isNull(parameters)) {
|
|
|
throw new SecurityException("未找到小程序信息");
|
|
|
@@ -4148,7 +4148,8 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, PjOrder> implemen
|
|
|
System.err.println("发送发货通知返回objectShip内容:" + objectShip);
|
|
|
String status = objectShip.getString("errmsg");
|
|
|
if ("ok".equals(status)) {
|
|
|
- return R.data("操作成功");
|
|
|
+ System.err.println("操作成功");
|
|
|
+ return R.data(pjOrder);
|
|
|
} else {
|
|
|
throw new RuntimeException("发送失败");
|
|
|
}
|