123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace refill\douxun_copy;
- use mtopcard;
- class config
- {
- const ORDER_URL = 'http://bapi.juhemall.cn/order.action';
- const QUERY_URL= 'http://bapi.juhemall.cn/queryOrder.action';
- const BALANCE_URL = 'http://bapi.juhemall.cn/balance.action';
- const custInteId = 'BJQDWTC';
- const KEY = 'JK-BJQDWTC';
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_douxun.php";
- const ExtHeaders = ['Content-Type:text/xml; charset=utf-8'];
- const operator = [
- mtopcard\ChinaMobileCard => 1,
- mtopcard\ChinaUnicomCard => 2,
- mtopcard\ChinaTelecomCard => 3
- ];
- const PRODUCT = [
- mtopcard\ChinaMobileCard => [
- 10 => 400010,
- 20 => 400020,
- 30 => 400030,
- 50 => 400050,
- 100 => 400100,
- 200 => 400200,
- 300 => 400300,
- 500 => 400500
- ],
- mtopcard\ChinaUnicomCard => [
- 10 => 100010,
- 20 => 100020,
- 30 => 100030,
- 50 => 100050,
- 100 => 100100,
- 200 => 100200,
- 300 => 100300,
- 500 => 100500
- ],
- mtopcard\ChinaTelecomCard => [
- 10 => 400010,
- 20 => 400020,
- 30 => 400030,
- 50 => 400050,
- 100 => 400100,
- 200 => 400200,
- 300 => 400300,
- 500 => 400500
- ],
- ];
- }
|