Commit d2cb04df authored by hj's avatar hj

更新提交0

parent 9e769605
...@@ -201,6 +201,7 @@ Compounds, ...@@ -201,6 +201,7 @@ Compounds,
foreach($currentPackageList as $package){ foreach($currentPackageList as $package){
$pack = []; $pack = [];
if($package['r_code'] == $datas['r_code']){ if($package['r_code'] == $datas['r_code']){
$package['p_price'] = [ceil($package['p_price'];
$pack['unit_description'] = $package['p_pack'].''.$package['p_pack_unit']; $pack['unit_description'] = $package['p_pack'].''.$package['p_pack_unit'];
//$pack['package_status'] = $package['p_status'] == '1' && $package['p_show'] == '1' && $package['p_if_big'] == 0 ? 'ACTIVE' : 'INACTIVE'; //$pack['package_status'] = $package['p_status'] == '1' && $package['p_show'] == '1' && $package['p_if_big'] == 0 ? 'ACTIVE' : 'INACTIVE';
//$tempData['status'] = $package['p_status'] == '1' && $package['p_show'] == '1' && $package['p_if_big'] == 0 ? 'ACTIVE' : 'INACTIVE'; //$tempData['status'] = $package['p_status'] == '1' && $package['p_show'] == '1' && $package['p_if_big'] == 0 ? 'ACTIVE' : 'INACTIVE';
...@@ -212,7 +213,7 @@ Compounds, ...@@ -212,7 +213,7 @@ Compounds,
]; ];
$pack['prices'][] = [ $pack['prices'][] = [
'price' => bcmul(ceil($package['p_price']), 1, 2), 'price' => bcmul($package['p_price'], 1, 2),
'currency' => 'RMB', 'currency' => 'RMB',
//'status' => 'ACTIVE' //'status' => 'ACTIVE'
]; ];
......
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