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 => 100088,
- 50 => 100009,
- 100 => 100010,
- 200 => 100011,
- 300 => 100012,
- 500 => 100013
- ],
- mtopcard\ChinaUnicomCard => [
- 1 => 100014,
- 2 => 100015,
- 3 => 100016,
- 4 => 100017,
- 5 => 100018,
- 6 => 100019,
- 7 => 100020,
- 8 => 100021,
- 9 => 100022,
- 10 => 100023,
- 20 => 100024,
- 30 => 100025,
- 50 => 100026,
- 100 => 100027,
- 200 => 100028,
- 300 => 100029,
- 500 => 100030
- ],
- mtopcard\ChinaTelecomCard => [
- 10 => 100040,
- 20 => 100041,
- 30 => 100042,
- 50 => 100043,
- 100 => 100044,
- 200 => 100045,
- 300 => 100046,
- 500 => 100047
- ],
- ];
- const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
- const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
- }
|