config.php 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace refill\afandnew;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://ddd.nvtu.ren/gateway/recharge';
  7. const QUERY_URL = 'http://ddd.nvtu.ren/gateway/recharge/order';
  8. const APP_ID = 'RC5229f3ef515e4b34adfb9aa251b5e15e';
  9. const KEY = '9803e5a3e4984ea4b8f847de28f22e2f';
  10. const NOTIFY_URL = BASE_SITE_URL . "/mobile/refill_afandnew.php";
  11. const ExtHeaders = ['Content-Type: application/x-www-form-urlencoded'];
  12. const ProductIDS = [
  13. mtopcard\ChinaMobileCard => [
  14. 10 => '2110000010101', 20 => '2110000020101', 30 => '2110000030101',
  15. 50 => '2110000050000', 100 => '21100000100000', 200 => '21100000200101'
  16. ],
  17. mtopcard\ChinaUnicomCard => [
  18. 50 => '2310000050101', 100 => '23100000100101', 200 => '23100000200101',
  19. 300 => '23100000300101'
  20. ],
  21. mtopcard\ChinaTelecomCard => [
  22. 30 => '2210000030101',
  23. 50 => '2210000050101', 100 => '22100000100101', 200 => '22100000200101',
  24. 300 => '22100000300101', 500 => '22100000500101'
  25. ]
  26. ];
  27. }