From 6ff0fa26cd30a0857fbe75d3aabb55f9d033b4f1 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 4 Jan 2017 16:49:04 +0800 Subject: [PATCH] =?UTF-8?q?yii2=20mongodb=E6=89=A9=E5=B1=95=E6=94=B9?= =?UTF-8?q?=E4=B8=BA2.1=EF=BC=8C=E5=85=BC=E5=AE=B9php7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 2 +- config/services/Order.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index fbc06c4a1..ee132f8b4 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "php": ">=5.4.0", "yiisoft/yii2": ">=2.0.9" , "fancyecommerce/fec_admin":"~1.3.6.1", - "yiisoft/yii2-mongodb": "~2.0.0" , + "yiisoft/yii2-mongodb": "~2.1.0" , "skeeks/yii2-assets-auto-compress": "*", "hightman/xunsearch": "*@beta" }, diff --git a/config/services/Order.php b/config/services/Order.php index d7537eda8..0cf61bc44 100644 --- a/config/services/Order.php +++ b/config/services/Order.php @@ -11,7 +11,7 @@ 'paymentStatus' => [ 'pending' => 'pending', #未付款订单状态 'processing' => 'processing' # 已付款订单状态 - ] + ], 'requiredAddressAttr' => [ # 必填的订单字段。 'first_name', @@ -29,4 +29,4 @@ ], ], -]; \ No newline at end of file +];