123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace refill\yamiaoman;
- use mtopcard;
- class config
- {
- const ORDER_URL = 'http://120.55.90.36:8911/api/hf/order/submit';
- const QUERY_URL = 'http://120.55.90.36:8911/api/order/query';
- const BALANCE_URL = 'http://120.55.90.36:8911/api/account/balance';
- const APP_ID = 'zIODZmzSCk';
- const APP_SECRET = 'VAkzZAuLgZWDCJGu';
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yamiaoman.php";
- const PRODUCT = [
- mtopcard\ChinaMobileCard => [
- 50 => 100111,
- 100 => 100025,
- 200 => 100026,
- ],
- mtopcard\ChinaUnicomCard => [
- 50 => 100027,
- 100 => 100028,
- 200 => 100029,
- ],
- mtopcard\ChinaTelecomCard => [
- 50 => 100030,
- 100 => 100031,
- 200 => 100032,
- ],
- ];
- const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
- const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
- }
|