Commit a18c9d6a by 严久程

咨询增加声网功能

parent b3c3fac4
......@@ -42,7 +42,7 @@ ext {
ydlPublishVersion = [
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.48.7.14",
"m-confide" : "0.0.48.7.17",
"m-consultant" : "0.0.57.4",
"m-fm" : "0.0.29.3",
"m-user" : "0.0.60.1",
......@@ -75,7 +75,7 @@ ext {
"ydl-webview" : "0.0.38.24",
"ydl-media" : "0.0.20",
"ydl-pay" : "0.0.17",
"m-audioim" : "0.0.48.3.4",
"m-audioim" : "0.0.48.3.6",
"ydl-flutter-base": "0.0.10.9",
//以下 几乎不会动
......@@ -121,7 +121,7 @@ ext {
"ydl-webview" : "0.0.38.24",
"ydl-media" : "0.0.20",
"ydl-pay" : "0.0.17",
"m-audioim" : "0.0.48.3.4",
"m-audioim" : "0.0.48.3.6",
"ydl-flutter-base": "0.0.10.9",
//以下 几乎不会动
......
package com.ydl.consultantim.command
package com.ydl.consultantim.command;
import com.ydl.ydlcommon.data.http.BaseCommand
import com.ydl.ydlcommon.data.http.BaseCommand;
/**
* @author jiucheng
* @描述:
* @Copyright Copyright (c) 2018
* @Company 壹点灵
* @date 2020/3/19
* @date 2020/3/30
*/
data class ListenTokenCmd(
public class ListenTokenCmd extends BaseCommand {
/**
* 类别 TOKEN|SIGNAL_TOKEN
*/
var type: String? = null,
public String type;
/**
* 账号(就是uid)
* 如果是SIGNAL_TOKEN 则需要传递该参数
*/
var account: String? = null,
public String account;
/**
* 频道ID
*/
var channelId: String? = null,
public String channelId;
/**
* 过期时间
*/
var expired: String? = null
) : BaseCommand()
\ No newline at end of file
public String expired;
}
......@@ -227,6 +227,10 @@ class LogHelper private constructor() {
//获取声网日志
private fun getAgoraLog(context: Context): File {
val agora = FileUtils.getSDDirectory() + "/" + context.packageName + "/agorasdk.log"
val filePath = context.filesDir.path + "/agorasdk.log"
return File(agora)
}
......
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