|
|
@@ -49,12 +49,12 @@ class ShopGoods extends \common\components\ActiveRecord
|
|
|
// ],
|
|
|
4 => [
|
|
|
'id' => 4,
|
|
|
- 'name' => '旅游积分',
|
|
|
+ 'name' => 'Travel Bonus',
|
|
|
'label' => 'tourism_points',
|
|
|
],
|
|
|
5 => [
|
|
|
'id' => 5,
|
|
|
- 'name' => '车房积分',
|
|
|
+ 'name' => 'Car/Villa Bonus',
|
|
|
'label' => 'garage_points',
|
|
|
],
|
|
|
7 => [
|
|
|
@@ -63,6 +63,7 @@ class ShopGoods extends \common\components\ActiveRecord
|
|
|
'label' => 'pay_stack',
|
|
|
],
|
|
|
];
|
|
|
+
|
|
|
const GOODS_TYPE = [
|
|
|
1 =>[
|
|
|
'name'=>'国内商品',//国内商品
|
|
|
@@ -101,16 +102,16 @@ class ShopGoods extends \common\components\ActiveRecord
|
|
|
self::SALE_TYPE[7],
|
|
|
]
|
|
|
],
|
|
|
- [
|
|
|
- 'id' => 4,
|
|
|
- 'name' => 'Travel bonus products',//旅游积分商品
|
|
|
- 'sell_type' => [
|
|
|
- self::SALE_TYPE[4]
|
|
|
- ]
|
|
|
- ],
|
|
|
+// [
|
|
|
+// 'id' => 4,
|
|
|
+// 'name' => 'Travel bonus products',//旅游积分商品
|
|
|
+// 'sell_type' => [
|
|
|
+// self::SALE_TYPE[4]
|
|
|
+// ]
|
|
|
+// ],
|
|
|
[
|
|
|
'id' => 5,
|
|
|
- 'name' => '车房积分商品',
|
|
|
+ 'name' => 'Car/Villa bonus products',
|
|
|
'sell_type' => [
|
|
|
self::SALE_TYPE[5]
|
|
|
]
|
|
|
@@ -210,19 +211,19 @@ class ShopGoods extends \common\components\ActiveRecord
|
|
|
public static function payTypes(){
|
|
|
return [
|
|
|
'cash'=>[
|
|
|
- 'name'=>'余额支付' //余额支付
|
|
|
- ],
|
|
|
- 'point'=>[
|
|
|
- 'name'=>'积分支付' //积分支付
|
|
|
+ 'name'=>'Account Balance' //余额支付
|
|
|
],
|
|
|
+// 'point'=>[
|
|
|
+// 'name'=>'积分支付' //积分支付
|
|
|
+// ],
|
|
|
// 'exchange' => [
|
|
|
// 'name' => '积分点数'
|
|
|
// ],
|
|
|
- 'tourism_points'=>[
|
|
|
- 'name'=>'旅游积分'
|
|
|
- ],
|
|
|
+// 'tourism_points'=>[
|
|
|
+// 'name'=>'Travel Bonus'
|
|
|
+// ],
|
|
|
'garage_points' => [
|
|
|
- 'name' => '车房积分'
|
|
|
+ 'name' => 'Car/Villa Bonus'
|
|
|
],
|
|
|
'pay_stack' => [
|
|
|
'name' => 'PayStack'
|