config.php 1.0 KB

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace refill\santi;
  3. use mtopcard;
  4. class config
  5. {
  6. const GET_MOBILE_INFO_URL = 'http://test-pms.santiyun.com/c/Mobile/getMobileInfo';
  7. const GET_PRODUCT_URL = 'http://test-pms.santiyun.com/c/Product/getProductList';
  8. const ORDER_URL = 'http://test-pms.santiyun.com/r/Channel/createOrderSyncWithProdValue';
  9. const QUERY_URL = 'http://test-pms.santiyun.com/r/Channel/queryOrder';
  10. const BALANCE_URL = 'http://test-pms.santiyun.com/r/Channel/queryBalance';
  11. const APP_KEY = '6da2681d45058b8b';
  12. const APP_SECRET = '6c41a870b54abb78efc9874475612345';
  13. // const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yikatong.php";
  14. const NOTIFY_URL = "https://www.xyzshops.cn/mobile/signature.php";
  15. const operator = [
  16. mtopcard\ChinaMobileCard => 1,
  17. mtopcard\ChinaUnicomCard => 2,
  18. mtopcard\ChinaTelecomCard => 3
  19. ];
  20. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  21. const ERR_NO = [
  22. 1000,1001,1003,1004,2001,2002,2003,2020,2021,1006,2030,3003
  23. ];
  24. }