123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- namespace refill\zhongst;
- use mtopcard;
- class config
- {
- const ORDER_URL = 'http://112.124.58.225:8911/api/hf/order/submit';
- const QUERY_URL = 'http://112.124.58.225:8911/api/order/query';
- const BALANCE_URL = 'http://112.124.58.225:8911/api/account/balance';
- const APP_ID = 'Jab1HfumVk';
- const APP_SECRET = 'eIpGtPfBdSfqAYSv';
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/refill_zhongst.php";
- const PRODUCT = [
- mtopcard\ChinaMobileCard => [
- 30 => 100008,
- 50 => 100009,
- 100 => 100010,
- 200 => 100011,
- 300 => 100012,
- 500 => 100013
- ],
- mtopcard\ChinaUnicomCard => [
- 5 => 100018,
- 6 => 100019,
- 7 => 100020,
- 8 => 100021,
- 9 => 100022,
- 10 => 100023,
- 20 => 100024,
- 30 => 100025,
- 50 => 100084,
- 100 => 100085,
- 200 => 100086,
- 300 => 100087
- ],
- mtopcard\ChinaTelecomCard => [
- 5 => 100035,
- 6 => 100036,
- 7 => 100037,
- 8 => 100038,
- 9 => 100039,
- 10 => 100179,
- 20 => 100180,
- 30 => 100181,
- 50 => 100043,
- 100 => 100183,
- 200 => 100184,
- 300 => 100185,
- 500 => 100186
- ],
- ];
- const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
- const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
- }
|