Forráskód Böngészése

海外商品支付修改

kevin_zhangl 2 éve
szülő
commit
6942833f3d
2 módosított fájl, 4 hozzáadás és 4 törlés
  1. 3 3
      common/config/main.php
  2. 1 1
      common/models/Config.php

+ 3 - 3
common/config/main.php

@@ -66,10 +66,10 @@ return [
             'merchantCode' => 'M08669', // 'M08669_S0002',  // M08669(prod)
             'merchantKey' => 'SiYF6a0QYy', // '5Mb154IrY8',   // SiYF6a0QYy(prod)
             'currencyCode' => 'MYR', //'CNY', // MYR(马来币) CNY(人民币)
-            'responseUrl' => 'https://www.ncshop2023.com/#/shop/order-list', //'https://www.ncshop2023.com/#/shop/order-list', // TODO: https://nc-fele-mips.elken.com:8015/#/shop/order-list(test)
-            'backendUrl' => 'https://fapi.ekhkad.com/v1/shop/verify-approach-order', //'https://fapi.ekhkad.com/v1/shop/verify-approach-order',  // https://nc-fapi-mips.elken.com:8013/v1/shop/verify-approach-order(test)
+            'responseUrl' => 'http://fele.ncshop.elken.com/#/shop/order-list', //'https://www.ncshop2023.com/#/shop/order-list', // TODO: https://nc-fele-mips.elken.com:8015/#/shop/order-list(test)
+            'backendUrl' => 'http://fapi.ncshop.elken.com/v1/shop/verify-approach-order', //'https://fapi.ekhkad.com/v1/shop/verify-approach-order',  // https://nc-fapi-mips.elken.com:8013/v1/shop/verify-approach-order(test)
             'requeryUrl' => 'https://payment.ipay88.com.my/epayment/enquiry.asp',
-//            'paymentUrl' => 'https://payment.ipay88.com.my/epayment/entry.asp',
+            'paymentUrl' => 'https://payment.ipay88.com.my/epayment/entry.asp',
             'recurringUrlSubscription' => 'https://www.ipay88.com/recurringpayment/webservice/RecurringPayment.asmx/Subscription',
             'recurringUrlTermination' => 'https://www.ipay88.com/recurringpayment/webservice/RecurringPayment.asmx/Termination'
         ],

+ 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){
             // 获取配置