123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- namespace mapi;
- class config
- {
- const SYS_CODE = "HNDQUOP";
- const APP_CODE = "HNWAIST";
- const KEY = "b5a1fc2085986034e448d2ccc5bb9703";
- // 走 Dcoos 地址时需在 http 的请求头加上 X-APP-ID 和 X-APP-KEY
- const HeaderTest = [
- "X-APP-ID:46e44156bbc0f95a643af2fc87cb1df3",
- "X-APP-KEY:f8576105b7b475442a853bad19fddb42",
- 'Content-Type: application/json'
- ];
- const HeaderProduction = [
- 'X-APP-ID: d217b8f9f3bdb14f4738fd0b1a136f9e',
- 'X-APP-KEY: ebab60e36af51501b02821f6143aa29c',
- 'Content-Type: application/json'
- ];
- const test_env = [
- 'DCN' => "http://135.125.60.146:30096/uop-web/httpapi/service/execute",
- 'Dcoos' => "http://135.125.60.146:9002/eop/uop-web/execute"
- ];
- const production_env = [
- 'DCN' => 'http://135.125.69.8:10096/uop-web/httpapi/service/execute',
- 'DcoosInternalNetwork' => "http://135.125.60.111:9002/eop/uop-web/execute",
- 'DcoosExternalNetwork' => "http://eop.hicloudnet.cn:9002/eop/uop-web/execute",
- ];
- }
|