Commit 586da2e9 by 徐健

修复声网推送问题

parent bbb23593
...@@ -43,7 +43,7 @@ ext { ...@@ -43,7 +43,7 @@ ext {
// -------------- 业务模块 -------------- // -------------- 业务模块 --------------
//第三步 若干 //第三步 若干
"m-confide" : "0.0.36", "m-confide" : "0.0.40",
"m-consultant" : "0.0.49", "m-consultant" : "0.0.49",
"m-fm" : "0.0.23", "m-fm" : "0.0.23",
"m-user" : "0.0.39", "m-user" : "0.0.39",
...@@ -71,7 +71,7 @@ ext { ...@@ -71,7 +71,7 @@ ext {
"ydl-webview" : "0.0.28", "ydl-webview" : "0.0.28",
"ydl-media" : "0.0.14", "ydl-media" : "0.0.14",
"ydl-pay" : "0.0.11", "ydl-pay" : "0.0.11",
"m-audioim" : "0.0.36", "m-audioim" : "0.0.40",
//以下 几乎不会动 //以下 几乎不会动
"router" : "0.0.1", "router" : "0.0.1",
...@@ -111,7 +111,7 @@ ext { ...@@ -111,7 +111,7 @@ ext {
"ydl-webview" : "0.0.28", "ydl-webview" : "0.0.28",
"ydl-media" : "0.0.14", "ydl-media" : "0.0.14",
"ydl-pay" : "0.0.11", "ydl-pay" : "0.0.11",
"m-audioim" : "0.0.35", "m-audioim" : "0.0.40",
//以下 几乎不会动 //以下 几乎不会动
......
...@@ -919,7 +919,7 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi ...@@ -919,7 +919,7 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
channelId channelId
) )
var cmd = NoticePushCommand() var cmd = NoticePushCommand()
cmd.data = Gson().toJson(msgBean) cmd.data = msgBean
cmd.pushId = listenerUid cmd.pushId = listenerUid
if (isCall) { if (isCall) {
cmd.status = "CALL" cmd.status = "CALL"
......
...@@ -51,7 +51,7 @@ interface AudioNetAPi { ...@@ -51,7 +51,7 @@ interface AudioNetAPi {
*通知服务端发送推送 *通知服务端发送推送
*/ */
@Headers( YDL_DOMAIN+ YDL_DOMAIN_JAVA,"Content-Type:application/json") @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>> fun noticeServerPush(@Body body: RequestBody): Observable<BaseResponse<Any>>
/** /**
......
package com.ydl.audioim.http.command; package com.ydl.audioim.http.command;
import com.ydl.ydl_av.chat.bean.AudioMessageBean;
import com.ydl.ydlcommon.data.http.BaseCommand; import com.ydl.ydlcommon.data.http.BaseCommand;
/** /**
...@@ -11,7 +12,7 @@ import com.ydl.ydlcommon.data.http.BaseCommand; ...@@ -11,7 +12,7 @@ import com.ydl.ydlcommon.data.http.BaseCommand;
* @date 2018/11/17 * @date 2018/11/17
*/ */
public class NoticePushCommand extends BaseCommand { public class NoticePushCommand extends BaseCommand {
public String data;//AudioMessageBean的字符串 public AudioMessageBean data;//AudioMessageBean的字符串
public String pushId;//专家uid public String pushId;//专家uid
public String status;//CALL 呼叫 CALL_OFF 取消呼叫 public String status;//CALL 呼叫 CALL_OFF 取消呼叫
public String title = "您有一条倾诉消息"; public String title = "您有一条倾诉消息";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment