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
QianQiXiang
haoban-manage3.0
Commits
f27e702e
Commit
f27e702e
authored
Apr 21, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员小程序 获取用户信息接口
parent
0adf2c28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+3
-1
ServiceTest.java
haoban-manage3-service/src/test/java/ServiceTest.java
+9
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
f27e702e
...
...
@@ -16,6 +16,7 @@ import com.gic.commons.util.GlobalInfo;
import
com.gic.commons.util.GlobalVar
;
import
com.gic.haoban.manage.api.dto.*
;
import
com.gic.haoban.manage.api.service.DepartmentApiService
;
import
com.gic.redis.data.anno.RedisCache
;
import
com.gic.thirdparty.api.dto.PicUploadResDTO
;
import
com.gic.thirdparty.api.service.QQCloudPicService
;
import
com.vdurmont.emoji.EmojiParser
;
...
...
@@ -1072,7 +1073,8 @@ public class StaffApiServiceImpl implements StaffApiService {
}
@Override
public
ServiceResponse
<
String
>
getStaffQrcode
(
String
clerkCode
,
String
storeId
)
{
@RedisCache
(
value
=
"qrcode=#{clerkCode}-#{storeId}"
,
timeOut
=
10
)
public
ServiceResponse
<
String
>
getStaffQrcode
(
String
clerkCode
,
String
storeId
)
{
ServiceResponse
<
String
>
resp
=
new
ServiceResponse
<>();
TabHaobanDepartment
department
=
departmentService
.
selectByRelatedId
(
storeId
);
if
(
null
==
department
)
{
...
...
haoban-manage3-service/src/test/java/ServiceTest.java
View file @
f27e702e
...
...
@@ -117,7 +117,7 @@ public void createSelfUser() {
userDTO
.
setDepartment
(
new
Integer
[]{
5072
});
userDTO
.
setMobile
(
"17605628851"
);
userDTO
.
setCorpid
(
"ww9ede832a84b7ae5f"
);
JSONResponse
workWxUser
=
qywxUserApiService
.
createSelfWorkWxUser
(
userDTO
,
"
ww9ede832a84b7ae5f
"
,
JSONResponse
workWxUser
=
qywxUserApiService
.
createSelfWorkWxUser
(
userDTO
,
"
n
"
,
"3aOw7jbcHlHkDmOi5TuG42Ta8NqskOhZxy5urrmaGl8"
);
System
.
out
.
println
(
JSONObject
.
toJSONString
(
workWxUser
));
}
...
...
@@ -163,4 +163,12 @@ public void sendMessage() {
}
@Test
public
void
extensionList
()
{
String
s
=
qywxUserApiService
.
listSelfExternalUserid
(
"ww9ede832a84b7ae5f"
,
"01YQ-pcdYzF3K0So8uCFfkB5i8D5EBW7KcVB4qA8Ktk"
,
"qiuwenmin"
);
System
.
out
.
println
(
JSONObject
.
toJSONString
(
s
));
}
}
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