123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- namespace refill\guanbang;
- use mtopcard;
- class config
- {
- //回调地址需上游配置
- const ORDER_URL = 'http://47.104.129.40:80/recharge/buy.do';
- const QUERY_URL = 'http://47.104.129.40:80/recharge/query.do';
- const BALANCE_URL = 'http://47.104.129.40:80/user/balance.do';
- const USER_ID = '57756';
- const KEY = 'F6CBED52E5BE';
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_guanbang.php";
- const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
- const PRODUCT = [
- mtopcard\ChinaMobileCard => [
- 30 => 20003,
- 50 => 20004,
- 100 => 20005,
- 200 => 20006,
- 300 => 20007,
- 500 => 20008
- ],
- mtopcard\ChinaUnicomCard => [
- 50 => 20012,
- 100 => 20013,
- 200 => 20014,
- 300 => 20015,
- 500 => 20016
- ],
- mtopcard\ChinaTelecomCard => [
- 100 => 20021,
- 200 => 20022,
- 300 => 20023,
- 500 => 20024
- ],
- ];
- const ERRCODES = ['101', '102', '103', '104', '105', '106', '107', '108', '109', '100', '112', '115', '116', '117', '118', '119', '120'];
- }
|