瀏覽代碼

feat: NG-15: 新会员注册时增加国家与语言选项.

zhangl 1 年之前
父節點
當前提交
4a79af2989
共有 1 個文件被更改,包括 21 次插入15 次删除
  1. 21 15
      common/models/ShopGoods.php

+ 21 - 15
common/models/ShopGoods.php

@@ -70,6 +70,12 @@ class ShopGoods extends \common\components\ActiveRecord
             'label' => 'pay_stack',
             'language' => 'saleTypePayStack',
         ],
+        8 => [
+            'id' => 6,
+            'name' => 'User Performance',
+            'label' => 'prp',
+            'language' => 'shopPayTypeUserPerformance',
+        ],
     ];
 
     const GOODS_TYPE = [
@@ -108,7 +114,7 @@ class ShopGoods extends \common\components\ActiveRecord
             'name' => 'Standard Products',//普通商品
             'sell_type' => [
                 self::SALE_TYPE[1],
-//                self::SALE_TYPE[3],
+                self::SALE_TYPE[8],
                 self::SALE_TYPE[7],
             ]
         ],
@@ -119,20 +125,20 @@ class ShopGoods extends \common\components\ActiveRecord
 //                self::SALE_TYPE[4]
 //            ]
 //        ],
-        [
-            'id' => 5,
-            'name' => 'Car Fund Products',
-            'sell_type' => [
-                self::SALE_TYPE[5]
-            ]
-        ],
-        [
-            'id' => 6,
-            'name' => 'Villa Fund Products',
-            'sell_type' => [
-                self::SALE_TYPE[6]
-            ]
-        ],
+//        [
+//            'id' => 5,
+//            'name' => 'Car Fund Products',
+//            'sell_type' => [
+//                self::SALE_TYPE[5]
+//            ]
+//        ],
+//        [
+//            'id' => 6,
+//            'name' => 'Villa Fund Products',
+//            'sell_type' => [
+//                self::SALE_TYPE[6]
+//            ]
+//        ],
     ];
     /**
      * @inheritdoc