Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GingerSoftLANInterconnection
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王宇航
GingerSoftLANInterconnection
Commits
bed9f7a8
Commit
bed9f7a8
authored
Aug 13, 2024
by
王宇航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.6.9
將傳輸回調data改為string類型,這樣接收時直接用json解析
parent
415748f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
mylibrary/src/main/java/com/gingersoft/connect/bean/SocketCallbackBean.kt
+2
-1
mylibrary/src/main/java/com/gingersoft/connect/utils/MsgParser.kt
+1
-1
No files found.
mylibrary/src/main/java/com/gingersoft/connect/bean/SocketCallbackBean.kt
View file @
bed9f7a8
...
...
@@ -5,5 +5,5 @@ class SocketCallbackBean(
val
statusCode
:
Int
,
val
msgCode
:
String
,
val
errorMsg
:
String
,
val
data
:
Any
?
=
null
val
data
:
String
?
=
null
)
\ No newline at end of file
mylibrary/src/main/java/com/gingersoft/connect/utils/MsgParser.kt
View file @
bed9f7a8
...
...
@@ -19,7 +19,7 @@ object MsgParser {
200
,
msgBean
.
code
.
toString
(),
result
.
errorMsg
,
result
.
data
GsonUtils
.
GsonString
(
result
.
data
)
)
}
else
{
return
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