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
4dc68055
Commit
4dc68055
authored
May 19, 2021
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:IM模块 查看订单和立即咨询修改成新链接
parent
1e8b4259
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
config.gradle
config.gradle
+2
-2
OrderAction.java
m-im/src/main/java/com/yidianling/im/session/action/OrderAction.java
+4
-1
ExpertConsultServiceItemView.kt
m-im/src/main/java/com/yidianling/uikit/custom/widget/expertConsultService/view/ExpertConsultServiceItemView.kt
+2
-1
No files found.
config.gradle
View file @
4dc68055
...
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.31"
,
"m-home"
:
"0.0.22.61"
,
"m-im"
:
"0.0.1
8.59
"
,
"m-im"
:
"0.0.1
9.00
"
,
"m-dynamic"
:
"0.0.7.22"
,
"m-article"
:
"0.0.0.8"
,
...
...
@@ -93,7 +93,7 @@ ext {
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.31"
,
"m-home"
:
"0.0.22.61"
,
"m-im"
:
"0.0.1
8.59
"
,
"m-im"
:
"0.0.1
9.00
"
,
"m-dynamic"
:
"0.0.7.22"
,
"m-article"
:
"0.0.0.6"
,
...
...
m-im/src/main/java/com/yidianling/im/session/action/OrderAction.java
View file @
4dc68055
...
...
@@ -4,6 +4,7 @@ import android.text.TextUtils;
import
com.ydl.webview.H5Params
;
import
com.ydl.webview.NewH5Activity
;
import
com.ydl.ydlcommon.base.config.HttpConfig
;
import
com.ydl.ydlcommon.base.lifecycle.ILifecycleable
;
import
com.ydl.ydlcommon.data.http.BaseResponse
;
import
com.ydl.ydlcommon.data.http.RxUtils
;
...
...
@@ -57,7 +58,9 @@ public class OrderAction extends BaseAction {
.
compose
(
RxUtils
.
applySchedulers
())
.
subscribe
(
resp
->
{
if
(
resp
!=
null
&&
resp
.
data
!=
null
&&
resp
.
data
.
shareData
!=
null
&&
!
TextUtils
.
isEmpty
(
resp
.
data
.
shareData
.
order_url
))
{
NewH5Activity
.
start
(
getActivity
(),
new
H5Params
(
resp
.
data
.
shareData
.
order_url
+
"?search="
+
resp
.
data
.
shareData
.
doctorName
,
"订单"
));
// NewH5Activity.start(getActivity(), new H5Params(resp.data.shareData.order_url + "?search=" + resp.data.shareData.doctorName, "订单"));
H5Params
h5Params3
=
new
H5Params
(
HttpConfig
.
Companion
.
getMH5_URL
()
+
"wb/user/order/list?needOrderHelperAlert=1"
,
"订单"
);
NewH5Activity
.
start
(
getActivity
(),
h5Params3
);
}
else
{
if
(
resp
!=
null
)
{
ToastHelper
.
Companion
.
show
(
resp
.
msg
);
...
...
m-im/src/main/java/com/yidianling/uikit/custom/widget/expertConsultService/view/ExpertConsultServiceItemView.kt
View file @
4dc68055
...
...
@@ -99,7 +99,8 @@ class ExpertConsultServiceItemView : LinearLayout {
}
im_expert_service_list_btn
.
setOnClickListener
{
NewH5Activity
.
start
(
mContext
,
H5Params
(
HttpConfig
.
MH5_URL
+
"consult/#/pages/DownOrder/DownOrder?product_id="
+
bean
.
productDto
.
id
,
null
))
NewH5Activity
.
start
(
mContext
,
H5Params
(
HttpConfig
.
MH5_URL
+
"consult/#/pages/jieyou/DownOrder?product_id="
+
bean
.
productDto
.
id
,
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