kevin_zhangl 2 лет назад
Родитель
Сommit
1b07c0d434

+ 1 - 1
backendApi/modules/v1/models/lists/shop/OrderList.php

@@ -235,7 +235,7 @@ class OrderList extends \common\libs\dataList\DataList implements DataListInterf
                             case 'exchange':
                                 return '兑换点数';
                             case 'ALiPay':
-                                return '支付';
+                                return '在线支付';
                             default:
                                 return '复消积分';
                         }

+ 1 - 1
common/models/Config.php

@@ -83,7 +83,7 @@ class Config extends \common\components\ActiveRecord
      * @return array|mixed|\yii\db\ActiveRecord[]
      */
     public static function getFromCache(){
-        Yii::$app->cache->delete(Cache::SYSTEM_CONFIG_KEY);
+//        Yii::$app->cache->delete(Cache::SYSTEM_CONFIG_KEY);
         $config = Yii::$app->cache->get(Cache::SYSTEM_CONFIG_KEY);
         if(!$config){
             // 获取配置

+ 1 - 1
common/models/ShopGoods.php

@@ -173,7 +173,7 @@ class ShopGoods extends \common\components\ActiveRecord
                 'name' => '无业绩兑换点数'
             ],
             'ALiPay' => [
-                'name' => '支付'
+                'name' => '在线支付'
             ],
         ];
     }

+ 0 - 1
frontendApi/modules/v1/controllers/ShopController.php

@@ -423,7 +423,6 @@ class ShopController extends BaseController {
         $exchangeRateMYR = floatval(Cache::getSystemConfig()['exchangeRateMYR']['VALUE'] ?? 0);
         // 计算马来币
         $amount = number_format($money * $exchangeRateMYR, 2, '.', '');
-        LoggerTool::info([$money, $amount]);
 //        $amount = number_format(1, 2, '.', ''); // TODO: 测试
         $paymentParams['Amount'] = str_replace('.', '', $amount);