From fef509cf0b1291e1ed929a627dfc8bfd20aabf9e Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Tue, 10 Dec 2019 09:02:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BA=E5=9F=9F=E8=BF=90?= =?UTF-8?q?=E8=B4=B9=E6=A8=A1=E6=9D=BF=E9=87=8D=E9=87=8F=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/shop/controllers/ExpressTemplateController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/modules/shop/controllers/ExpressTemplateController.php b/backend/modules/shop/controllers/ExpressTemplateController.php index 454bbb5..41c0912 100755 --- a/backend/modules/shop/controllers/ExpressTemplateController.php +++ b/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) {