12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- namespace refill\meixu_tax;
- use mtopcard;
- class config
- {
- const ORDER_URL = 'http://120.79.190.232:8911/api/hf/order/submit';
- const QUERY_URL = 'http://120.79.190.232:8911/api/order/query';
- const BALANCE_URL = 'http://120.79.190.232:8911/api/account/balance';
- const APP_ID = 'Bb0uub7pDi';
- const APP_SECRET = 'QYuBIPscevkgrgZG';
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_meixu_tax.php";
- const PRODUCT = [
- mtopcard\ChinaMobileCard => [
- 10 => 101032,
- 20 => 101033,
- 30 => 101034,
- 50 => 101035,
- 100 => 101036,
- 200 => 101037,
- 300 => 101038,
- 500 => 101039,
- ],
- mtopcard\ChinaUnicomCard => [
- 10 => 101040,
- 20 => 101041,
- 30 => 101042,
- 50 => 101043,
- 100 => 101044,
- 200 => 101045,
- 300 => 101046,
- 500 => 101047,
- ],
- mtopcard\ChinaTelecomCard => [
- 10 => 101048,
- 20 => 101049,
- 30 => 101050,
- 50 => 101051,
- 100 => 101052,
- 200 => 101053,
- 300 => 101054,
- 500 => 101055,
- ]
- ];
- const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
- const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
- }
|