1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- namespace refill\baixuan;
- use mtopcard;
- class config
- {
- const ORDER_URL = 'http://119.23.174.34:8911/api/hf/order/submit';
- const QUERY_URL = 'http://119.23.174.34:8911/api/order/query';
- const BALANCE_URL = 'http://119.23.174.34:8911/api/account/balance';
- const APP_ID = 'Hs2pvfcPTK';
- const APP_SECRET = 'WYUvuzPpFNnBfQZm';
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_baixuan.php";
- const PRODUCT = [
- mtopcard\ChinaMobileCard => [
- 30 => 100067,
- 50 => 100025,
- 100 => 100026,
- 200 => 100027,
- 300 => 100028,
- 500 => 100029,
- ],
- mtopcard\ChinaUnicomCard => [
- 30 => 100086,
- 50 => 100087,
- 100 => 100088,
- 200 => 100090,
- 300 => 100091,
- 500 => 100089,
- ],
- mtopcard\ChinaTelecomCard => [
- 30 => 100062,
- 50 => 100022,
- 100 => 100023,
- 200 => 100024,
- 300 => 100084,
- 500 => 100085,
- ],
- ];
- const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
- const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
- }
|