Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhangbo1_wd
2024-05-21 16:57:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d518eb986887704f560e089d8b5d6d0f74860502
d518eb98
1 parent
46caaa41
替换header参数appcode,用鸿蒙自己的值
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
sight_harmony/commons/wdNetwork/src/main/ets/http/HttpCommonParams.ets
sight_harmony/commons/wdNetwork/src/main/ets/http/HttpCommonParams.ets
View file @
d518eb9
...
...
@@ -42,23 +42,23 @@ export class HttpParams {
switch (HostManager.getHost()) {
case HostEnum.HOST_UAT:
headers['X-Ca-Stage'] = 'PRE'
headers['Authorization'] = 'APPCODE 83092caa603a421aa0222308b3f6b27a'
headers['appCode'] = '83092caa603a421aa0222308b3f6b27a'
headers['Authorization'] = 'APPCODE 5e1b07c336ac48ae90794fc4d69beaf9'
headers['appCode'] = '5e1b07c336ac48ae90794fc4d69beaf9'
break
case HostEnum.HOST_SIT:
headers['X-Ca-Stage'] = 'TEST'
headers['Authorization'] = 'APPCODE 0af1f9085e484c97b2a44704bae72c07'
headers['appCode'] = '0af1f9085e484c97b2a44704bae72c07'
headers['Authorization'] = 'APPCODE b7d32f50747d456d8c84ae51f3baaf56'
headers['appCode'] = 'b7d32f50747d456d8c84ae51f3baaf56'
break
case HostEnum.HOST_PRODUCT:
headers['X-Ca-Stage'] = 'RELEASE'
headers['Authorization'] = 'APPCODE 3d4181bceeb94d9780e10dbb6c67bbf6'
headers['appCode'] = '3d4181bceeb94d9780e10dbb6c67bbf6'
headers['Authorization'] = 'APPCODE c148017260324c3ba7e612757e8146c1'
headers['appCode'] = 'c148017260324c3ba7e612757e8146c1'
break
case HostEnum.HOST_DEV:
headers['X-Ca-Stage'] = 'TEST'
headers['Authorization'] = 'APPCODE ff33172859e14f9a8299e3bd769e79f9'
headers['appCode'] = 'ff33172859e14f9a8299e3bd769e79f9'
headers['Authorization'] = 'APPCODE 9272b6a5ad0549a0ab399d0011109793'
headers['appCode'] = '9272b6a5ad0549a0ab399d0011109793'
break
default:
break
...
...
Please
register
or
login
to post a comment