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
fe2aab27
Commit
fe2aab27
authored
Mar 07, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 点击头像跳转医生详情
parent
4d2fb21f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
20 deletions
+12
-20
config.gradle
config.gradle
+2
-2
P2PCustomActionHandlerImpl.java
m-im/src/main/java/com/yidianling/im/bridge/P2PCustomActionHandlerImpl.java
+9
-17
MsgViewHolderInquiryreceive.kt
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderInquiryreceive.kt
+1
-1
No files found.
config.gradle
View file @
fe2aab27
...
...
@@ -11,7 +11,7 @@ ext {
"m-user"
:
"0.0.61.90"
,
"m-user-medical"
:
"0.0.61.99"
,
"m-home"
:
"0.0.22.70"
,
"m-im-medical"
:
"0.0.20.
88
"
,
"m-im-medical"
:
"0.0.20.
92
"
,
"m-im"
:
"0.0.20.76"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -97,7 +97,7 @@ ext {
"m-user"
:
"0.0.61.90"
,
"m-user-medical"
:
"0.0.61.99"
,
"m-home"
:
"0.0.22.70"
,
"m-im-medical"
:
"0.0.20.
88
"
,
"m-im-medical"
:
"0.0.20.
92
"
,
"m-im"
:
"0.0.20.76"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-im/src/main/java/com/yidianling/im/bridge/P2PCustomActionHandlerImpl.java
View file @
fe2aab27
...
...
@@ -11,6 +11,7 @@ import androidx.appcompat.app.AppCompatActivity;
import
android.text.TextUtils
;
import
android.view.View
;
import
com.alibaba.android.arouter.launcher.ARouter
;
import
com.google.gson.internal.LinkedTreeMap
;
import
com.netease.nimlib.sdk.NIMClient
;
import
com.netease.nimlib.sdk.RequestCallback
;
...
...
@@ -646,7 +647,7 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler {
showCallDialog
();
break
;
case
"访问专家主页"
:
//
skip2ExpertHome();
skip2ExpertHome
();
break
;
case
"历史聊天记录"
:
historyMsg
();
...
...
@@ -753,21 +754,11 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler {
private
void
skip2ExpertHome
()
{
// 跳转到专家主页
if
(
docInfo
.
doctorId
!=
null
)
{
String
junmpurl
=
ImIn
.
INSTANCE
.
getExpertHost
()
+
docInfo
.
doctorId
;
String
share_title
=
docInfo
.
name
+
"咨询工作室"
;
String
share_head
=
docInfo
.
cover
;
String
share_context
=
""
;
String
share_url
=
ImIn
.
INSTANCE
.
getShareExpertHost
()
+
docInfo
.
doctorId
;
H5Params
h5Params
=
new
H5Params
(
junmpurl
,
null
);
if
(!
TextUtils
.
isEmpty
(
share_url
))
{
ShareData
shareData1
=
new
ShareData
(
junmpurl
,
share_title
,
share_head
,
share_context
);
h5Params
.
setShareData
(
shareData1
);
}
h5Params
.
setShowMenu
(
true
);
if
(
mActivity
!=
null
)
{
NewH5Activity
.
start
(
mActivity
,
h5Params
);
}
// 跳转到专家主页
ARouter
.
getInstance
()
.
build
(
"/app/doctorDetail"
)
.
withInt
(
"doctorId"
,
Integer
.
valueOf
(
docInfo
.
doctorId
))
.
navigation
();
}
}
...
...
@@ -929,7 +920,8 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler {
@Override
public
void
showZhuanjPage
()
{
// skip2ExpertHome();
// 跳转到专家主页
skip2ExpertHome
();
}
/**
...
...
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderInquiryreceive.kt
View file @
fe2aab27
...
...
@@ -44,7 +44,7 @@ class MsgViewHolderInquiryreceive(adapter: BaseMultiItemFetchLoadAdapter<*, *>?)
item
?.
setOnClickListener
{
view
:
View
?
->
NewH5Activity
.
start
(
view
!!
.
context
,
H5Params
(
"${HttpConfig.MEDICAL_H5URL}ct/
orderD
etails?orderId=${itemBean?.keyFromOrderid}&hideNavBar=1"
,
"${HttpConfig.MEDICAL_H5URL}ct/
inquiry/order/d
etails?orderId=${itemBean?.keyFromOrderid}&hideNavBar=1"
,
null
)
)
...
...
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