config.php 769 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace refill\ruixundaman;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://120.76.172.131:8911/api/hf/order/submit';
  7. const QUERY_URL = 'http://120.76.172.131:8911/api/order/query';
  8. const BALANCE_URL = 'http://120.76.172.131:8911/api/account/balance';
  9. const APP_ID = '8tYeow0MYZ';
  10. const APP_SECRET = 'BJpyvAXRxrJRMlnq';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_ruixundaman.php";
  12. const PRODUCT = [
  13. mtopcard\ChinaUnicomCard => [
  14. 50 => 100105,
  15. 100 => 100106,
  16. 200 => 100107,
  17. ]
  18. ];
  19. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  20. const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
  21. }