订单推送(中药订单)江奥川接口文档给错了,应该是要传总金额
This commit is contained in:
@@ -84,7 +84,8 @@ class ProductOrderSyncJob extends BaseJob implements JobInterface
|
||||
// 剂量重量,即加工内容的条目数
|
||||
'post_weight' => count($recipeContent),
|
||||
// 单剂量金额,总价格除以总剂量并四舍五入到两位小数
|
||||
'post_amount' => round($recipe['total_price']/$recipe['dosage'],2),
|
||||
// 'post_amount' => round($recipe['total_price']/$recipe['dosage'],2),
|
||||
'post_amount' => $recipe['total_price'],
|
||||
// 诊断信息
|
||||
'diagnose' => $prescriptionContent['clinical_diagnose'],
|
||||
// 业务类型代码
|
||||
|
||||
Reference in New Issue
Block a user