Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
e56858c3
Commit
e56858c3
authored
Jul 12, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手机号加密
parent
2dfe89d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
KeyDataApiService.java
.../com/gic/haoban/manage/api/service/KeyDataApiService.java
+1
-1
KeyDataApiServiceImpl.java
...anage/service/service/out/impl/KeyDataApiServiceImpl.java
+2
-3
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/KeyDataApiService.java
View file @
e56858c3
...
@@ -5,7 +5,7 @@ import com.gic.haoban.manage.api.enums.KeyDataEnum;
...
@@ -5,7 +5,7 @@ import com.gic.haoban.manage.api.enums.KeyDataEnum;
public
interface
KeyDataApiService
{
public
interface
KeyDataApiService
{
public
ServiceResponse
<
String
>
saveMobileData
(
String
enterpiseId
,
Long
linkId
,
String
mobile
);
public
ServiceResponse
<
String
>
saveMobileData
(
String
enterpiseId
,
String
linkShortCode
,
String
mobile
);
public
ServiceResponse
<
String
>
getDataByKey
(
String
key
,
KeyDataEnum
dataEnum
);
public
ServiceResponse
<
String
>
getDataByKey
(
String
key
,
KeyDataEnum
dataEnum
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/KeyDataApiServiceImpl.java
View file @
e56858c3
...
@@ -19,11 +19,10 @@ public class KeyDataApiServiceImpl implements KeyDataApiService {
...
@@ -19,11 +19,10 @@ public class KeyDataApiServiceImpl implements KeyDataApiService {
private
KeyDataService
keyDataService
;
private
KeyDataService
keyDataService
;
@Override
@Override
public
ServiceResponse
<
String
>
saveMobileData
(
String
enterpiseId
,
Long
linkId
,
String
mobile
)
{
public
ServiceResponse
<
String
>
saveMobileData
(
String
enterpiseId
,
String
linkShortCode
,
String
mobile
)
{
JSONObject
json
=
new
JSONObject
();
JSONObject
json
=
new
JSONObject
();
json
.
put
(
"ph"
,
mobile
);
json
.
put
(
"ph"
,
mobile
);
json
.
put
(
"ljid"
,
linkId
);
KeyDataDTO
keyData
=
this
.
keyDataService
.
saveData
(
enterpiseId
,
linkShortCode
,
json
.
toString
(),
KeyDataEnum
.
MOBILE
);
KeyDataDTO
keyData
=
this
.
keyDataService
.
saveData
(
enterpiseId
,
String
.
valueOf
(
linkId
),
json
.
toString
(),
KeyDataEnum
.
MOBILE
);
return
ServiceResponse
.
success
(
keyData
.
getDataKey
());
return
ServiceResponse
.
success
(
keyData
.
getDataKey
());
}
}
...
...
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