config.php 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace refill\miaoxt_fs_sec;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://47.118.46.242:10186/plat/api/old/submitorder';
  7. const QUERY_URL= 'http://47.118.46.242:10186/plat/api/old/queryorder';
  8. const BALANCE_URL = 'http://47.118.46.242:10186/plat/api/old/queryBalance';
  9. const USER_ID= '200120';
  10. const KEY = '17bd27f3114a4cfea7e4cff004ce8d37';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_miaoxt_fs_sec.php";
  12. const operator = [
  13. mtopcard\ChinaMobileCard => 1,
  14. mtopcard\ChinaUnicomCard => 2,
  15. mtopcard\ChinaTelecomCard => 3
  16. ];
  17. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  18. const ERR_NOS = [
  19. 1000,1001,1003,1004,2001,2002,2003,2020,2021,1006,2030,3003
  20. ];
  21. //key格式 卡类型-面值-regin_no
  22. const Price = [
  23. //移动
  24. "4-30-19" => 30.03, "4-50-19" => 50.05, "4-100-19" => 100.1, "4-200-19" => 200.2, "4-300-19" => 300.3, "4-500-19" => 500.5,//广东 19
  25. ];
  26. }