123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- namespace refill\dezhi_fs;
- use mtopcard;
- class config
- {
- //https://www.showdoc.com.cn/AQL666666/
- const ORDER_URL = 'http://124.70.214.140:9086/onlinepay.do';
- const QUERY_URL= 'http://124.70.214.140:9086/searchpay.do';
- const BALANCE_URL = 'http://124.70.214.140:9086/searchbalance.do';
- const USER_ID= '10002514';
- const KEY = 'KFmj6jKzDXhwbNKKHMne3D5Njn8x262X';
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_dezhi_fs.php";
- const operator = [
- mtopcard\ChinaMobileCard => 'yd',
- mtopcard\ChinaUnicomCard => 'lt',
- mtopcard\ChinaTelecomCard => 'dx'
- ];
- const ERR_NOS = [
- '5001','5002','5003','5004','5005','5008','5009','5010','5011','5012'
- ];
- const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;'];
- const Price = [
- //移动
- "4-30-24" => 27.6, "4-50-24" => 46, "4-100-24" => 92, "4-200-24" => 184,//贵州 24
- "4-30-10" => 28.35, "4-50-10" => 47.25, "4-100-10" => 94.5, "4-200-10" => 189,//江苏 10
- "4-30-15" => 28.56, "4-50-15" => 47.6, "4-100-15" => 95.2, "4-200-15" => 190.4,//山东 15
- "4-30-13" => 28.56, "4-50-13" => 47.6, "4-100-13" => 95.2, "4-200-13" => 190.4,//福建 13
- "4-30-25" => 27.6, "4-50-25" => 46, "4-100-25" => 92, "4-200-25" => 184,//云南 25
- //电信
- "6-30-19" => 28.26, "6-50-19" => 47.1, "6-100-19" => 94.2, "6-200-19" => 188.4,//广东 19
- "6-30-9" => 28.26, "6-50-9" => 47.1, "6-100-9" => 94.2, "6-200-9" => 188.4,//上海 9
- "6-30-23" => 27.99, "6-50-23" => 46.65, "6-100-23" => 93.3, "6-200-23" => 186.6,//四川 23
- "6-30-2" => 27.99, "6-50-2" => 46.65, "6-100-2" => 93.3, "6-200-2" => 186.6,//天津 2
- ];
- }
|