config.php 900 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace refill\xingzy_normal;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://39.103.236.218:8081/order/insert';
  7. const QUERY_URL = 'http://39.103.236.218:8071/order/query';
  8. const BALANCE_URL = 'http://39.103.236.218:8071/member/account';
  9. const ACCESS_KEY = '211394711';
  10. const ACCESS_SECRET = 'KqatYI5nIESBhW22my0TNg==';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_xingzy_normal.php";
  12. const ExtHeaders = ['Content-Type: application/json; charset=utf-8'];
  13. const product_code = [
  14. mtopcard\ChinaUnicomCard => [
  15. 30 => 'SKU100081',
  16. 50 => 'SKU100082',
  17. 100 => 'SKU100083',
  18. 200 => 'SKU100084'
  19. ],
  20. mtopcard\ChinaTelecomCard => [
  21. 30 => 'SKU100073',
  22. 50 => 'SKU100074',
  23. 100 => 'SKU100075',
  24. 200 => 'SKU100076'
  25. ],
  26. ];
  27. }