123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- namespace refill\pengxinda;
- use mtopcard;
- class config
- {
- //回调地址需 上游配置
- const ORDER_URL = 'http://39.105.7.52:8081/api/recharge.jsp';
- const QUERY_URL = 'http://39.105.7.52:8081/api/recharge_result.jsp';
- const BALANCE_URL = 'http://39.105.7.52:8081/api/balance.jsp';
- const API_USER_ID = 'beijingqdw';
- const KEY = '52069208FD1101B4BC7C86C47A8F40AD';
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_pengxinda.php";
- const Product = [
- mtopcard\ChinaMobileCard => [
- 10 => 100210,
- 20 => 100220,
- 50 => 100250,
- 100 => 1002100,
- 200 => 1002200,
- 300 => 1002300,
- 500 => 1002500
- ],
- mtopcard\ChinaUnicomCard => [
- 10 => 1200210,
- 20 => 1200220,
- 30 => 1200230,
- 50 => 1200250,
- 100 => 12002100,
- 200 => 12002200,
- 300 => 12002300
- ],
- mtopcard\ChinaTelecomCard => [
- 10 => 1100210,
- 20 => 1100220,
- 50 => 1100250,
- 100 => 11002100,
- 200 => 11002200,
- 300 => 11002300,
- 500 => 11002500
- ],
- ];
- }
|