Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
84adfd85
Commit
84adfd85
authored
Dec 21, 2019
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复私聊页面状态栏字体显示问题
parent
9297d0fe
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
17 deletions
+23
-17
config.gradle
config.gradle
+3
-3
YdlHomeFragment.kt
m-home/src/xlzx/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+2
-0
NewMultiMessageFragment.kt
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
+1
-1
RequestLogInterceptor.java
ydl-net/src/main/java/com/ydl/ydlnet/builder/interceptor/log/RequestLogInterceptor.java
+3
-3
HttpConfig.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/base/config/HttpConfig.kt
+14
-10
No files found.
config.gradle
View file @
84adfd85
...
@@ -52,7 +52,7 @@ ext {
...
@@ -52,7 +52,7 @@ ext {
"m-muse"
:
"0.0.20.4"
,
"m-muse"
:
"0.0.20.4"
,
"m-tests"
:
"0.0.15.3"
,
"m-tests"
:
"0.0.15.3"
,
"m-course"
:
"0.0.34.4"
,
"m-course"
:
"0.0.34.4"
,
"m-im"
:
"0.0.3.
5
"
,
"m-im"
:
"0.0.3.
7
"
,
"m-dynamic"
:
"0.0.1.2"
,
"m-dynamic"
:
"0.0.1.2"
,
...
@@ -81,7 +81,7 @@ ext {
...
@@ -81,7 +81,7 @@ ext {
//以下 几乎不会动
//以下 几乎不会动
"router"
:
"0.0.1"
,
"router"
:
"0.0.1"
,
"ydl-net"
:
"0.0.3"
,
"ydl-net"
:
"0.0.3
.1
"
,
"ydl-utils"
:
"0.0.3"
,
"ydl-utils"
:
"0.0.3"
,
"ydl-flutter-base"
:
"0.0.5.17"
,
"ydl-flutter-base"
:
"0.0.5.17"
,
]
]
...
@@ -127,7 +127,7 @@ ext {
...
@@ -127,7 +127,7 @@ ext {
//以下 几乎不会动
//以下 几乎不会动
"router"
:
"0.0.1"
,
"router"
:
"0.0.1"
,
"ydl-net"
:
"0.0.3"
,
"ydl-net"
:
"0.0.3
.1
"
,
"ydl-utils"
:
"0.0.3"
,
"ydl-utils"
:
"0.0.3"
,
"ydl-flutter-base"
:
"0.0.5.17"
,
"ydl-flutter-base"
:
"0.0.5.17"
,
]
]
...
...
m-home/src/xlzx/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
84adfd85
...
@@ -24,6 +24,7 @@ import com.yidianling.consultant.api.IConsultantService
...
@@ -24,6 +24,7 @@ import com.yidianling.consultant.api.IConsultantService
import
com.yidianling.home.R
import
com.yidianling.home.R
import
com.yidianling.home.adapter.YdlHomeAdapter
import
com.yidianling.home.adapter.YdlHomeAdapter
import
com.yidianling.home.constract.IHomeContract
import
com.yidianling.home.constract.IHomeContract
import
com.yidianling.home.constract.YdlHomeViewHolderConstract
import
com.yidianling.home.dialog.ActivityDialog
import
com.yidianling.home.dialog.ActivityDialog
import
com.yidianling.home.dialog.ActivityGuideDialog
import
com.yidianling.home.dialog.ActivityGuideDialog
import
com.yidianling.home.event.HomeImpl
import
com.yidianling.home.event.HomeImpl
...
@@ -39,6 +40,7 @@ import kotlinx.android.synthetic.xlzx.home_layout_home_module_head_bg.*
...
@@ -39,6 +40,7 @@ import kotlinx.android.synthetic.xlzx.home_layout_home_module_head_bg.*
import
kotlinx.android.synthetic.xlzx.home_layout_home_module_input.*
import
kotlinx.android.synthetic.xlzx.home_layout_home_module_input.*
import
kotlinx.android.synthetic.xlzx.home_layout_home_module_toolbar.*
import
kotlinx.android.synthetic.xlzx.home_layout_home_module_toolbar.*
/**
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
* @描述: 壹点灵首页fragment
* @描述: 壹点灵首页fragment
...
...
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
View file @
84adfd85
...
@@ -59,7 +59,7 @@ class NewMultiMessageFragment : BaseFragment() {
...
@@ -59,7 +59,7 @@ class NewMultiMessageFragment : BaseFragment() {
}
}
override
fun
getStatusViewOptions
():
StatusBarOptions
{
override
fun
getStatusViewOptions
():
StatusBarOptions
{
return
StatusBarOptions
(
true
)
return
StatusBarOptions
(
isAddStatusView
=
true
,
statusBarDarkMode
=
true
)
}
}
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
...
...
ydl-net/src/main/java/com/ydl/ydlnet/builder/interceptor/log/RequestLogInterceptor.java
View file @
84adfd85
...
@@ -66,11 +66,11 @@ public class RequestLogInterceptor implements Interceptor {
...
@@ -66,11 +66,11 @@ public class RequestLogInterceptor implements Interceptor {
String
bodyString
=
null
;
String
bodyString
=
null
;
if
(
responseBody
!=
null
&&
isParseable
(
responseBody
.
contentType
()))
{
if
(
responseBody
!=
null
&&
isParseable
(
responseBody
.
contentType
()))
{
bodyString
=
printResult
(
request
,
originalResponse
);
bodyString
=
printResult
(
request
,
originalResponse
);
if
(
mRequestHandler
!=
null
){
mRequestHandler
.
onHttpResultResponse
(
bodyString
,
chain
,
originalResponse
);
}
}
}
if
(
mRequestHandler
!=
null
)
mRequestHandler
.
onHttpResultResponse
(
bodyString
,
chain
,
originalResponse
);
if
(
mIsDebug
)
{
if
(
mIsDebug
)
{
final
List
<
String
>
segmentList
=
request
.
url
().
encodedPathSegments
();
final
List
<
String
>
segmentList
=
request
.
url
().
encodedPathSegments
();
final
String
header
=
originalResponse
.
headers
().
toString
();
final
String
header
=
originalResponse
.
headers
().
toString
();
...
...
ydl-platform/src/main/java/com/ydl/ydlcommon/base/config/HttpConfig.kt
View file @
84adfd85
...
@@ -130,18 +130,22 @@ class HttpConfig {
...
@@ -130,18 +130,22 @@ class HttpConfig {
chain
:
Interceptor
.
Chain
,
chain
:
Interceptor
.
Chain
,
response
:
Response
response
:
Response
):
Response
{
):
Response
{
val
gson
=
GsonProvider
.
getGson
()
try
{
val
resultData
=
gson
.
fromJson
(
httpResult
,
BaseAPIResponse
::
class
.
java
)
val
gson
=
GsonProvider
.
getGson
()
when
(
resultData
.
code
)
{
val
resultData
=
gson
.
fromJson
(
httpResult
,
BaseAPIResponse
::
class
.
java
)
AUTH_INEFFECTIVE_CODE
->
{
when
(
resultData
.
code
)
{
//签证签名失败
AUTH_INEFFECTIVE_CODE
->
{
ToastUtil
.
toastShort
(
resultData
.
msg
)
//签证签名失败
//更新动态密钥
ToastUtil
.
toastShort
(
resultData
.
msg
)
if
(
resultData
.
data
!=
null
){
//更新动态密钥
var
authBean
=
gson
.
fromJson
<
AuthBean
>(
gson
.
toJson
(
resultData
.
data
),
AuthBean
::
class
.
java
)
if
(
resultData
.
data
!=
null
){
DYNAMIC_SESSION_KEY
=
authBean
?.
appKey
.
toString
()
var
authBean
=
gson
.
fromJson
<
AuthBean
>(
gson
.
toJson
(
resultData
.
data
),
AuthBean
::
class
.
java
)
DYNAMIC_SESSION_KEY
=
authBean
?.
appKey
.
toString
()
}
}
}
}
}
}
catch
(
e
:
Exception
)
{
LogUtil
.
e
(
"getRequestHandler:$e"
)
}
}
return
response
return
response
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment