|
|
|
|
23
|
//TODO 需要替换token
|
23
|
//TODO 需要替换token
|
24
|
/* requestBuilder.header("Authorization", "Bearer ${Const.token}")
|
24
|
/* requestBuilder.header("Authorization", "Bearer ${Const.token}")
|
25
|
requestBuilder.header("Accept-Language", "zh-Hans")*/
|
25
|
requestBuilder.header("Accept-Language", "zh-Hans")*/
|
26
|
- requestBuilder.header("XH-UserId","")
|
|
|
|
|
26
|
+ requestBuilder.header("XH-UserId","1")
|
27
|
request = requestBuilder.build()
|
27
|
request = requestBuilder.build()
|
28
|
val originalResponse = chain.proceed(request)
|
28
|
val originalResponse = chain.proceed(request)
|
29
|
val responseBody = originalResponse.body
|
29
|
val responseBody = originalResponse.body
|