diff --git a/platform/modules/v1/controllers/ErpController.php b/platform/modules/v1/controllers/ErpController.php index c553817..7c5df4d 100644 --- a/platform/modules/v1/controllers/ErpController.php +++ b/platform/modules/v1/controllers/ErpController.php @@ -117,6 +117,7 @@ class ErpController extends Controller if ($v['prescription']['status'] == 1) { $erpData[$k]['orderId'] = $v['order_no']; $erpData[$k]['createTime'] = date('Y-m-d H:i:s', $v['created_at']); + // 如果是商城处方订单 if ($v['is_online'] == 3) { $erpData[$k]['userId'] = $defaultUserId; } else {