config.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace refill\masheng;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://api.mashengquanyi.com/api/addOrder';
  7. const QUERY_URL= 'http://api.mashengquanyi.com/api/payment/order';
  8. const BALANCE_URL = 'http://api.mashengquanyi.com/api/payment/query/bank';
  9. const USER_ID= '4637888';
  10. const KEY = 'K0DYDKRH05KYBWI4846Z9VRR';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_masheng.php";
  12. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;'];
  13. const ProductIdS = [
  14. mtopcard\ChinaMobileCard =>
  15. [
  16. 100 => '100YDJS',
  17. 200 => '200YDJS',
  18. 300 => '300YDJS',
  19. 500 => '500YDJS',
  20. ],
  21. mtopcard\ChinaUnicomCard =>
  22. [
  23. ],
  24. mtopcard\ChinaTelecomCard =>
  25. [
  26. 30 => '30DXJS',
  27. 50 => '50DXJS',
  28. 100 => '100DXJS',
  29. 200 => '200DXJS',
  30. 300 => '300DXJS',
  31. 500 => '500DXJS',
  32. ]
  33. ];
  34. }