config.php 925 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace refill\youhedf;
  3. class config
  4. {
  5. const ORDER_URL = 'http://118.31.168.250:10186/plat/api/df/submitorder';
  6. const QUERY_URL= 'http://118.31.168.250:10186/plat/api/old/queryorder';
  7. const BALANCE_URL = 'http://118.31.168.250:10186/plat/api/old/queryBalance';
  8. const USER_ID= '200044';
  9. const KEY = '940500a70ce346e6838fa314adf104cc';
  10. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_youhedf.php";
  11. const operator = [
  12. 'nation' => 101,
  13. 'south' => 102,
  14. ];
  15. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  16. const ERR_NOS = [
  17. 1000,1001,1003,1004,2001,2002,2003,2020,2021,1006,2030,3003
  18. ];
  19. const Product = [
  20. 50 => 101030050,
  21. 100 => 101030100,
  22. 200 => 101030200,
  23. 300 => 101030300,
  24. 500 => 101030500,
  25. 1000 => 1010301000,
  26. ];
  27. }