1234567891011121314151617181920212223242526272829 |
- <?php
- namespace refill\hangtongyj;
- use mtopcard;
- class config
- {
- const ORDER_URL = 'http://47.108.161.207/flow-receiver/api/v2/recharge';
- const QUERY_URL = 'http://47.108.161.207/flow-receiver/api/v2/query/single';
- const BALANCE_URL = 'http://47.108.161.207/flow-receiver/api/v2/balance/query';
- const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_hangtongyj.php';
- const ACCOUNT = 'yeziyj';
- const KEY = 'b79ba40ae2924c779851178471958850';
- const operator = [
- mtopcard\ChinaMobileCard => 'CMCC',
- mtopcard\ChinaUnicomCard => 'CUCC',
- mtopcard\ChinaTelecomCard => 'CTCC'
- ];
- const ProductIDS = [
- mtopcard\ChinaMobileCard => [
- 30 => 'CMCCALLr30sP00008',
- 50 => 'CMCCALLr50sP00009',
- 100 => 'CMCCALLr100sP00010',
- 200 => 'CMCCALLr200sP00011'
- ]
- ];
- }
|