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
586da2e9
Commit
586da2e9
authored
Dec 10, 2019
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复声网推送问题
parent
bbb23593
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
config.gradle
config.gradle
+3
-3
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+1
-1
AudioNetAPi.kt
m-audioim/src/main/java/com/ydl/audioim/http/AudioNetAPi.kt
+1
-1
NoticePushCommand.java
m-audioim/src/main/java/com/ydl/audioim/http/command/NoticePushCommand.java
+2
-1
No files found.
config.gradle
View file @
586da2e9
...
...
@@ -43,7 +43,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.
36
"
,
"m-confide"
:
"0.0.
40
"
,
"m-consultant"
:
"0.0.49"
,
"m-fm"
:
"0.0.23"
,
"m-user"
:
"0.0.39"
,
...
...
@@ -71,7 +71,7 @@ ext {
"ydl-webview"
:
"0.0.28"
,
"ydl-media"
:
"0.0.14"
,
"ydl-pay"
:
"0.0.11"
,
"m-audioim"
:
"0.0.
36
"
,
"m-audioim"
:
"0.0.
40
"
,
//以下 几乎不会动
"router"
:
"0.0.1"
,
...
...
@@ -111,7 +111,7 @@ ext {
"ydl-webview"
:
"0.0.28"
,
"ydl-media"
:
"0.0.14"
,
"ydl-pay"
:
"0.0.11"
,
"m-audioim"
:
"0.0.
35
"
,
"m-audioim"
:
"0.0.
40
"
,
//以下 几乎不会动
...
...
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
586da2e9
...
...
@@ -919,7 +919,7 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
channelId
)
var
cmd
=
NoticePushCommand
()
cmd
.
data
=
Gson
().
toJson
(
msgBean
)
cmd
.
data
=
msgBean
cmd
.
pushId
=
listenerUid
if
(
isCall
)
{
cmd
.
status
=
"CALL"
...
...
m-audioim/src/main/java/com/ydl/audioim/http/AudioNetAPi.kt
View file @
586da2e9
...
...
@@ -51,7 +51,7 @@ interface AudioNetAPi {
*通知服务端发送推送
*/
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_JAVA
,
"Content-Type:application/json"
)
@POST
(
"
api/
push/notify/doctor"
)
@POST
(
"push/notify/doctor"
)
fun
noticeServerPush
(
@Body
body
:
RequestBody
):
Observable
<
BaseResponse
<
Any
>>
/**
...
...
m-audioim/src/main/java/com/ydl/audioim/http/command/NoticePushCommand.java
View file @
586da2e9
package
com
.
ydl
.
audioim
.
http
.
command
;
import
com.ydl.ydl_av.chat.bean.AudioMessageBean
;
import
com.ydl.ydlcommon.data.http.BaseCommand
;
/**
...
...
@@ -11,7 +12,7 @@ import com.ydl.ydlcommon.data.http.BaseCommand;
* @date 2018/11/17
*/
public
class
NoticePushCommand
extends
BaseCommand
{
public
String
data
;
//AudioMessageBean的字符串
public
AudioMessageBean
data
;
//AudioMessageBean的字符串
public
String
pushId
;
//专家uid
public
String
status
;
//CALL 呼叫 CALL_OFF 取消呼叫
public
String
title
=
"您有一条倾诉消息"
;
...
...
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