config.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. namespace mapi;
  3. class config
  4. {
  5. const SYS_CODE = "HNDQUOP";
  6. const APP_CODE = "HNWAIST";
  7. const KEY = "b5a1fc2085986034e448d2ccc5bb9703";
  8. // 走 Dcoos 地址时需在 http 的请求头加上 X-APP-ID 和 X-APP-KEY
  9. const HeaderTest = [
  10. "X-APP-ID:46e44156bbc0f95a643af2fc87cb1df3",
  11. "X-APP-KEY:f8576105b7b475442a853bad19fddb42",
  12. 'Content-Type: application/json'
  13. ];
  14. const HeaderProduction = [
  15. 'X-APP-ID: d217b8f9f3bdb14f4738fd0b1a136f9e',
  16. 'X-APP-KEY: ebab60e36af51501b02821f6143aa29c',
  17. 'Content-Type: application/json'
  18. ];
  19. const test_env = [
  20. 'DCN' => "http://135.125.60.146:30096/uop-web/httpapi/service/execute",
  21. 'Dcoos' => "http://135.125.60.146:9002/eop/uop-web/execute"
  22. ];
  23. const production_env = [
  24. 'DCN' => 'http://135.125.69.8:10096/uop-web/httpapi/service/execute',
  25. 'DcoosInternalNetwork' => "http://135.125.60.111:9002/eop/uop-web/execute",
  26. 'DcoosExternalNetwork' => "http://eop.hicloudnet.cn:9002/eop/uop-web/execute",
  27. ];
  28. }