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
d08c89c5
Commit
d08c89c5
authored
Mar 02, 2020
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加手动切换axb数据上传
parent
1b86d987
Hide whitespace changes
Inline
Side-by-side
Showing
2 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
+4
-3
No files found.
config.gradle
View file @
d08c89c5
...
@@ -42,7 +42,7 @@ ext {
...
@@ -42,7 +42,7 @@ ext {
ydlPublishVersion
=
[
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
// -------------- 业务模块 --------------
//第三步 若干
//第三步 若干
"m-confide"
:
"0.0.4
7.7
"
,
"m-confide"
:
"0.0.4
8.3
"
,
"m-consultant"
:
"0.0.57.4"
,
"m-consultant"
:
"0.0.57.4"
,
"m-fm"
:
"0.0.28"
,
"m-fm"
:
"0.0.28"
,
"m-user"
:
"0.0.58.2"
,
"m-user"
:
"0.0.58.2"
,
...
@@ -75,7 +75,7 @@ ext {
...
@@ -75,7 +75,7 @@ ext {
"ydl-webview"
:
"0.0.37.1"
,
"ydl-webview"
:
"0.0.37.1"
,
"ydl-media"
:
"0.0.20"
,
"ydl-media"
:
"0.0.20"
,
"ydl-pay"
:
"0.0.17"
,
"ydl-pay"
:
"0.0.17"
,
"m-audioim"
:
"0.0.4
6.5
"
,
"m-audioim"
:
"0.0.4
7.7
"
,
"ydl-flutter-base"
:
"0.0.10"
,
"ydl-flutter-base"
:
"0.0.10"
,
//以下 几乎不会动
//以下 几乎不会动
...
@@ -121,7 +121,7 @@ ext {
...
@@ -121,7 +121,7 @@ ext {
"ydl-webview"
:
"0.0.37.1"
,
"ydl-webview"
:
"0.0.37.1"
,
"ydl-media"
:
"0.0.20"
,
"ydl-media"
:
"0.0.20"
,
"ydl-pay"
:
"0.0.17"
,
"ydl-pay"
:
"0.0.17"
,
"m-audioim"
:
"0.0.4
6.5
"
,
"m-audioim"
:
"0.0.4
7.7
"
,
"ydl-flutter-base"
:
"0.0.10"
,
"ydl-flutter-base"
:
"0.0.10"
,
//以下 几乎不会动
//以下 几乎不会动
...
...
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
d08c89c5
...
@@ -329,12 +329,13 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
...
@@ -329,12 +329,13 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
/**
/**
* 上传错误日志
* 上传错误日志
* zhu 洪平要的,判别是移动端主动调的还是声网返的
*/
*/
private
fun
uploadException
(
message
:
String
)
{
private
fun
uploadException
(
message
:
String
,
zhu
:
String
=
""
)
{
var
time
:
String
=
(
System
.
currentTimeMillis
()
/
1000
).
toString
()
var
time
:
String
=
(
System
.
currentTimeMillis
()
/
1000
).
toString
()
var
uid
:
String
=
ModularServiceManager
.
provide
(
IUserService
::
class
.
java
).
getUserInfo
()
?.
uid
!!
var
uid
:
String
=
ModularServiceManager
.
provide
(
IUserService
::
class
.
java
).
getUserInfo
()
?.
uid
!!
var
payLoad
=
PayLoad
(
channelId
?:
"0"
,
time
,
uid
,
"1"
,
"999"
,
message
)
var
payLoad
=
PayLoad
(
channelId
?:
"0"
,
time
,
uid
,
"1"
,
"999"
,
message
)
var
connectException
=
ConnectExceptionCommand
(
time
,
"2"
,
"99"
,
payLoad
)
var
connectException
=
ConnectExceptionCommand
(
time
+
zhu
,
"2"
,
"99"
,
payLoad
)
getPresenter
().
connectException
(
connectException
)
getPresenter
().
connectException
(
connectException
)
}
}
...
@@ -720,7 +721,7 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
...
@@ -720,7 +721,7 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
override
fun
onClickEnsure
()
{
override
fun
onClickEnsure
()
{
//是手动切换且连接成功
//是手动切换且连接成功
if
(
type
==
1
&&
isConnectSuccess
)
{
if
(
type
==
1
&&
isConnectSuccess
)
{
uploadException
(
""
)
uploadException
(
""
,
"zhu"
)
}
}
switchAXB
()
switchAXB
()
}
}
...
...
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