1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- namespace refill\ruizhi_third;
- 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 = '85378';
- const KEY = '34DA051FFD61';
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_ruizhi_third.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 => [
- 30 => 20011,
- 50 => 20012,
- 100 => 20013,
- 200 => 20014,
- 300 => 20015,
- ],
- mtopcard\ChinaTelecomCard => [
- 30 => 20019,
- 50 => 20020,
- 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'];
- }
|