浏览代码

yuanta add dx 100-200 product 92.5

xiaoyu 3 年之前
父节点
当前提交
436373df15
共有 3 个文件被更改,包括 9 次插入3 次删除
  1. 2 2
      data/config/xyz/refill.ini.php
  2. 5 1
      helper/refill/api/xyz/yuanta/api.txt
  3. 2 0
      helper/refill/api/xyz/yuanta/config.php

+ 2 - 2
data/config/xyz/refill.ini.php

@@ -2809,12 +2809,12 @@ $yuanta_phone = ['name' => 'yuanta', 'store_id' => 128, 'qualitys' => '5',
         100 => [
 //            ['goods_id' => 7120, 'price' => 91.8, 'quality' => 5, 'card_type' => 'chinamobile'],
             ['goods_id' => 7120, 'price' => 90.3, 'quality' => 5, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 7120, 'price' => 95.6, 'quality' => 5, 'card_type' => 'chinatelecom']
+            ['goods_id' => 7120, 'price' => 92.5, 'quality' => 5, 'card_type' => 'chinatelecom']
         ],
         200 => [
 //            ['goods_id' => 7121, 'price' => 183.6, 'quality' => 5, 'card_type' => 'chinamobile'],
             ['goods_id' => 7121, 'price' => 180.6, 'quality' => 5, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 7121, 'price' => 191.2, 'quality' => 5, 'card_type' => 'chinatelecom']
+            ['goods_id' => 7121, 'price' => 185, 'quality' => 5, 'card_type' => 'chinatelecom']
         ]
 //        300 => [
 //            ['goods_id' => 7122, 'price' => 275.4, 'quality' => 5, 'card_type' => 'chinamobile'],

+ 5 - 1
helper/refill/api/xyz/yuanta/api.txt

@@ -10,4 +10,8 @@ appSecret:qXRRTTqrtAwwwtXp
 下单接口地址:http://59.110.225.82:8911/api/hf/order/submit
 查单接口地址:http://59.110.225.82:8911/api/order/query
 余额接口地址:http://59.110.225.82:8911/api/account/balance
-提卡接口地址:http://59.110.225.82:8911/api/card/get
+提卡接口地址:http://59.110.225.82:8911/api/card/get
+
+2022.3.14 增加电信商品编码
+100 面值    商品编码  100046
+200                 100047

+ 2 - 0
helper/refill/api/xyz/yuanta/config.php

@@ -21,6 +21,8 @@ class config
             200 => 100041
         ],
         mtopcard\ChinaTelecomCard => [
+            100 => 100046,
+            200 => 100047
         ],
     ];
     const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];