config.php 767 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace refill\yongjia;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://123.56.68.57:1008/hqorder/api/submit';
  7. const QUERY_URL = 'http://123.56.68.57:1008/hqorder/api/query';
  8. const BALANCE_URL = 'http://123.56.68.57:1008/hqorder/api/balance';
  9. const MCHID = '1';
  10. const KEY = '52e4fd509410446a8259fd8a93de6c85';
  11. // const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yongjia.php";
  12. const NOTIFY_URL = "https://www.xyzshops.cn/mobile/signature.php";
  13. const PRODUCT = [
  14. mtopcard\ChinaMobileCard => [
  15. ],
  16. mtopcard\ChinaUnicomCard => [
  17. ],
  18. mtopcard\ChinaTelecomCard => [
  19. 200 => 3000200
  20. ]
  21. ];
  22. const ExtHeaders = ['Content-Type: application/json'];
  23. }