Commit 9e769605 authored by hj's avatar hj

更新提交0

parent 2b596c66
......@@ -212,7 +212,7 @@ Compounds,
];
$pack['prices'][] = [
'price' => bcmul($package['p_price'], 1, 2),
'price' => bcmul(ceil($package['p_price']), 1, 2),
'currency' => 'RMB',
//'status' => 'ACTIVE'
];
......
......@@ -120,7 +120,7 @@ class WuxiLabNewService
$tempData['productId'] = $pCode;
$tempData['packageUnitDescription'] = $product->p_code;
$tempData['minPackageUnitDescription'] = '';
$tempData['price'] = bcmul($product->p_price, 0.5, 2);
$tempData['price'] = bcmul(ceil($product->p_price), 0.5, 2);
$tempData['discount'] = '0.5';
$tempData['inCostCurrency'] = 'RMB';
$tempData['status'] = $product->p_status == '1' ? 'ACTIVE' : 'INACTIVE';;
......
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