12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace refill\guantufs;
- use mtopcard;
- class config
- {
- const ORDER_URL = 'http://8.142.121.158:8911/api/hf/order/submit';
- const QUERY_URL = 'http://8.142.121.158:8911/api/order/query';
- const BALANCE_URL = 'http://8.142.121.158:8911/api/account/balance';
- const APP_ID = '2ShLSBpImt';
- const APP_SECRET = 'QjJeQUacifyTfKAy';
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_guantufs.php";
- const PRODUCT = [
- mtopcard\ChinaMobileCard => [
- 30 => 100073,
- 50 => 100074,
- 100 => 100075,
- 200 => 100076,
- ],
- mtopcard\ChinaUnicomCard => [
- 30 => 100108,
- 50 => 100109,
- 100 => 100110,
- 200 => 100111,
- 300 => 100112,
- 500 => 100113
- ],
- ];
- const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
- const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
- }
|