Преглед изворни кода

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

zhangl пре 1 година
родитељ
комит
2cc353b030
3 измењених фајлова са 4 додато и 14 уклоњено
  1. 1 0
      common/messages/en-US/ctx.php
  2. 1 0
      common/messages/zh-CN/ctx.php
  3. 2 14
      common/models/ShopGoods.php

+ 1 - 0
common/messages/en-US/ctx.php

@@ -244,6 +244,7 @@ return [
     'shopBrandAmbassadorOrderExport'=>'Brand Ambassador Order',
     'shopSetProductStatusErrorNotice'=>'The current product status is【{nowStatus}】,cannot be set to【{newStatus}】',
     'shopPayTypeCash' => 'Ecoin',
+    'shopPayTypeUserPerformance' => 'userPerformance',
     'shopPayTypeGaragePoints' => 'Car Fund',
     'shopPayTypeVillaFund' => 'Villa Fund',
     'shopBuyActionErrorNotice'=>'The wrong way to buy the product',

+ 1 - 0
common/messages/zh-CN/ctx.php

@@ -247,6 +247,7 @@ return [
     'shopBrandAmbassadorOrderExport'=>'Brand Ambassador Order',
     'shopSetProductStatusErrorNotice'=>'当前商品状态为 {nowStatus},无法设置为 {newStatus}',
     'shopPayTypeCash' => '余额支付',
+    'shopPayTypeUserPerformance' => '绩效奖金',
     'shopPayTypeGaragePoints' => '车奖积分',
     'shopPayTypeVillaFund' => '房奖积分',
     'shopBuyActionErrorNotice'=>'商品购买方式错误',

+ 2 - 14
common/models/ShopGoods.php

@@ -230,20 +230,8 @@ class ShopGoods extends \common\components\ActiveRecord
             'cash'=>[
                 'name'=> \Yii::t('ctx', 'shopPayTypeCash')//余额支付
             ],
-//            'point'=>[
-//                'name'=>'积分支付' //积分支付
-//            ],
-//            'exchange' => [
-//                'name' => '积分点数'
-//            ],
-//            'tourism_points'=>[
-//                'name'=>'Travel Bonus'
-//            ],
-            'garage_points' => [
-                'name' => \Yii::t('ctx', 'shopPayTypeGaragePoints')
-            ],
-            'villa_points' => [
-                'name' => \Yii::t('ctx', 'shopPayTypeVillaFund')
+            'prp' => [
+                'name' => \Yii::t('ctx', 'shopPayTypeUserPerformance')
             ],
             'pay_stack' => [
                 'name' => 'PayStack'