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
74a9e9ff
Commit
74a9e9ff
authored
Jul 01, 2022
by
YKai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/release' into feature/yk_release
parents
b70e6f2f
fd28784c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
config.gradle
config.gradle
+2
-2
PersonalInfoActivity.java
m-user/src/main/java/com/yidianling/user/mine/PersonalInfoActivity.java
+4
-6
No files found.
config.gradle
View file @
74a9e9ff
...
...
@@ -8,7 +8,7 @@ ext {
"m-confide"
:
"0.0.50.42"
,
"m-consultant"
:
"0.0.60.70"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.6
1
"
,
"m-user"
:
"0.0.62.6
2
"
,
"m-home"
:
"0.0.23.95"
,
"m-im"
:
"0.0.21.63"
,
"m-dynamic"
:
"0.0.7.74"
,
...
...
@@ -90,7 +90,7 @@ ext {
"m-confide"
:
"0.0.50.42"
,
"m-consultant"
:
"0.0.60.70"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.6
1
"
,
"m-user"
:
"0.0.62.6
2
"
,
"m-home"
:
"0.0.23.95"
,
"m-im"
:
"0.0.21.63"
,
"m-dynamic"
:
"0.0.7.74"
,
...
...
m-user/src/main/java/com/yidianling/user/mine/PersonalInfoActivity.java
View file @
74a9e9ff
...
...
@@ -406,6 +406,7 @@ public class PersonalInfoActivity extends BaseActivity implements View.OnClickLi
@Override
protected
void
onActivityResult
(
int
requestCode
,
int
resultCode
,
Intent
data
)
{
super
.
onActivityResult
(
requestCode
,
resultCode
,
data
);
if
(
resultCode
==
RESULT_OK
)
{
switch
(
requestCode
)
{
case
21001
:
...
...
@@ -432,6 +433,7 @@ public class PersonalInfoActivity extends BaseActivity implements View.OnClickLi
case
21003
:
if
(
imgUri
!=
null
)
{
showProgressDialog
(
"保存中..."
);
String
path
=
fileUtils
.
getPathByUri4kitkat
(
this
,
imgUri
);
Bitmap
bitmap
=
BitmapFactory
.
decodeFile
(
path
);
bitmap
=
fileUtils
.
getZoomImage
(
bitmap
,
200
);
...
...
@@ -569,12 +571,7 @@ public class PersonalInfoActivity extends BaseActivity implements View.OnClickLi
*/
@SuppressLint
(
"CheckResult"
)
void
uploadImage
(
final
String
path
,
final
int
requestCode
)
{
runOnUiThread
(
new
Runnable
()
{
@Override
public
void
run
()
{
showProgressDialog
(
"保存中..."
);
}
});
UserHttp
userHttp
=
UserHttpImpl
.
Companion
.
getInstance
();
userHttp
.
uploadHead
(
new
HeadParam
(
new
File
(
path
)))
...
...
@@ -610,6 +607,7 @@ public class PersonalInfoActivity extends BaseActivity implements View.OnClickLi
.
transform
(
new
GlideCircleTransform
(
PersonalInfoActivity
.
this
))
.
into
(
persion_head_iv
);
}
dismissProgressDialog
();
},
new
ThrowableConsumer
()
{
@Override
public
void
accept
(
@NotNull
String
msg
)
{
...
...
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