Browse Source

修改区域运费模板重量逻辑

antshop
linyaostalker 5 years ago
parent
commit
fef509cf0b
  1. 4
      backend/modules/shop/controllers/ExpressTemplateController.php

4
backend/modules/shop/controllers/ExpressTemplateController.php

@ -265,8 +265,8 @@ class ExpressTemplateController extends Controller
$model->basic_price /= 100;
$model->extra_price /= 100;
if ($expressTemplateModel->calculation_type == ExpressTemplate::CALCULATION_TYPE_WEIGHT) {
$model->basic_count /= 10;
$model->extra_count /= 10;
$model->basic_count /= 1000;
$model->extra_count /= 1000;
}
$data = Yii::$app->request->post('ExpressArea');
if ($data) {

Loading…
Cancel
Save