123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- namespace refill\bier;
- use mtopcard;
- class config
- {
- const ORDER_URL = 'http://47.108.202.150/flow-receiver/api/recharge/feecbk';
- const QUERY_URL = 'http://47.108.202.150/flow-receiver/api/query/feecbk';
- const BALANCE_URL = 'http://47.108.202.150/flow-receiver/api/balance/feecbk';
- const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_bier.php';
- const ACCOUNT = 'lzyezi';
- const KEY = '01dfa36eed7847958d93ab82bc28dc23';
- const operator = [
- mtopcard\ChinaMobileCard => 'CMCC',
- mtopcard\ChinaUnicomCard => 'CUCC',
- mtopcard\ChinaTelecomCard => 'CTCC'
- ];
- const ProductIDS = [
- mtopcard\ChinaMobileCard => [
- 10 => 'CMCCALLr10r',
- 20 => 'CMCCALLr20r',
- 30 => 'CMCCALLr30r',
- 50 => 'CMCCALLr50r',
- 100 => 'CMCCALLr100r',
- 200 => 'CMCCALLr200r',
- ],
- mtopcard\ChinaUnicomCard => [
- 30 => 'CUCCALLr30r',
- 50 => 'CUCCALLr50r',
- 100 => 'CUCCALLr100r',
- 200 => 'CUCCALLr200r',
- ],
- mtopcard\ChinaTelecomCard => [
- 30 => 'CTCCALLr30r',
- 50 => 'CTCCALLr50r',
- 100 => 'CTCCALLr100r',
- 200 => 'CTCCALLr200r',
- ],
- ];
- const NotifyErrCodes = [
- '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','025','027','028','098','099'
- ];
- const QueryErrCodes = [
- '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','024','025','026','027','028','098','099'
- ];
- }
|