config.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. namespace refill\dazhanggui_fs_gd;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://47.101.136.81:10186/plat/api/old/submitorder';
  7. const QUERY_URL= 'http://47.101.136.81:10186/plat/api/old/queryorder';
  8. const BALANCE_URL = 'http://47.101.136.81:10186/plat/api/old/queryBalance';
  9. const USER_ID= '200039';
  10. const KEY = '83e190d4be9643a4abac61095938662e';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_dazhanggui_fs_gd.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. const Product = [
  22. mtopcard\ChinaMobileCard => [
  23. //广东
  24. 19 => [
  25. 50 => 1440050,
  26. 100 => 1440100,
  27. 200 => 1440200,
  28. ],
  29. ]
  30. ];
  31. //key格式 卡类型-面值-regin_no
  32. const Price = [
  33. //移动
  34. "4-50-19" => 48, "4-100-19" => 96, "4-200-19" => 192,//广东 19
  35. ];
  36. }