Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sobot_module_Dev
Project
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
sobot_android
Sobot_module_Dev
Commits
2e146c06
Commit
2e146c06
authored
2 years ago
by
郑娜伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net 1.1.6 上传文件失败 弹出msg提示
parent
e14e1495
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
SobotUploadTask.java
...n/java/com/sobot/network/http/upload/SobotUploadTask.java
+3
-3
No files found.
sobot_network/src/main/java/com/sobot/network/http/upload/SobotUploadTask.java
View file @
2e146c06
...
@@ -189,14 +189,14 @@ public class SobotUploadTask<T> implements Runnable {
...
@@ -189,14 +189,14 @@ public class SobotUploadTask<T> implements Runnable {
progress
.
url
=
tmpData
.
getUrl
();
progress
.
url
=
tmpData
.
getUrl
();
postOnFinish
(
progress
,
data
);
postOnFinish
(
progress
,
data
);
}
else
{
}
else
{
postOnError
(
progress
,
new
RuntimeException
(
"服务器异常"
));
postOnError
(
progress
,
new
RuntimeException
(
result
.
getMsg
()
));
}
}
}
else
{
}
else
{
postOnError
(
progress
,
new
RuntimeException
(
"
服务器异常
"
));
postOnError
(
progress
,
new
RuntimeException
(
"
网络错误
"
));
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
postOnError
(
progress
,
new
RuntimeException
(
"
服务器异常
"
));
postOnError
(
progress
,
new
RuntimeException
(
"
网络错误
"
));
}
}
}
else
{
}
else
{
postOnError
(
progress
,
new
RuntimeException
(
response
.
message
()));
postOnError
(
progress
,
new
RuntimeException
(
response
.
message
()));
...
...
This diff is collapsed.
Click to expand it.
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