config.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace refill\yunchonggongfs;
  3. class config
  4. {
  5. const ORDER_URL = 'http://39.108.50.235:8911/api/order/submit';
  6. const QUERY_URL = 'http://39.108.50.235:8911/api/order/query';
  7. const BALANCE_URL = 'http://39.108.50.235:8911/api/account/balance';
  8. const APP_ID = 'MEEJnMSL9H';
  9. const APP_SECRET = 'cpWFarCEUDnCcMWQ';
  10. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yunchonggongfs.php";
  11. const ProvinceItemId = [
  12. 25 => [
  13. 30 => 100012,
  14. 50 => 100013,
  15. 100 => 100014,
  16. 200 => 100015
  17. ], //'云南',
  18. 24 => [
  19. 30 => 100016,
  20. 50 => 100017,
  21. 100 => 100018,
  22. 200 => 100019
  23. ], //'贵州',
  24. ];
  25. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  26. const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
  27. //key格式 卡类型-面值-regin_no
  28. const Price = [
  29. "4-30-24" => 28.23, "4-50-24" => 47.05, "4-100-24" => 94.1, "4-200-24" => 188.2,//贵州 24
  30. "4-30-25" => 28.23, "4-50-25" => 47.05, "4-100-25" => 94.1, "4-200-25" => 188.2,//云南 25
  31. ];
  32. }