|
|
@@ -62,7 +62,7 @@ class PurchaseOrderClass extends BaseClass
|
|
|
$smallNum += $v['smallNum'] ?? 0;
|
|
|
$totalItemPrice = bcadd($totalItemPrice, $v['itemPrice'], 2);
|
|
|
$ghsItemInfoMap[$v['productId']] = $v;
|
|
|
- if (getenv('YII_ENV', 'local') == 'production') {
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
$weight = $v['weight'] ?? 0;
|
|
|
} else {
|
|
|
$weight = 0.6;
|