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
b09e5141
Commit
b09e5141
authored
Mar 29, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor:增加日志
parent
a1efebbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
WxEnterpriseInfoController.java
...ban/manage/web/controller/WxEnterpriseInfoController.java
+5
-3
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseInfoController.java
View file @
b09e5141
...
...
@@ -191,7 +191,9 @@ public class WxEnterpriseInfoController extends WebBaseController {
@RequestMapping
(
value
=
"welldone-login"
,
method
=
RequestMethod
.
POST
)
@IgnoreLogin
public
RestResponse
<
String
>
welldoneLogin
(
@RequestBody
@Valid
StaffLoginQO
staffLoginQO
,
HttpServletRequest
request
)
{
StaffDTO
staffDTO
=
staffApiService
.
selectById
(
staffLoginQO
.
getStaffId
());
String
staffId
=
staffLoginQO
.
getStaffId
();
logger
.
info
(
"好办登录,staffId:{}"
,
staffId
);
StaffDTO
staffDTO
=
staffApiService
.
selectById
(
staffId
);
if
(
staffDTO
==
null
)
{
return
RestResponse
.
failure
(
String
.
valueOf
(
HaoBanErrCode
.
ERR_6
.
getCode
()),
HaoBanErrCode
.
ERR_6
.
getMsg
());
}
...
...
@@ -209,7 +211,6 @@ public class WxEnterpriseInfoController extends WebBaseController {
}
return
RestResponse
.
successResult
(
refreshToken
);
}
String
staffId
=
staffDTO
.
getStaffId
();
Map
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"staffId"
,
staffId
);
map
.
put
(
"wxEnterpriseId"
,
staffDTO
.
getWxEnterpriseId
());
...
...
@@ -388,6 +389,7 @@ public class WxEnterpriseInfoController extends WebBaseController {
/**
* 是否能打开客户详情权限
*
* @param clerkId
* @param memberId
* @param storeId
...
...
@@ -397,7 +399,7 @@ public class WxEnterpriseInfoController extends WebBaseController {
@RequestMapping
(
"get-member-clerk-flag"
)
public
RestResponse
getMemberFlag
(
String
clerkId
,
String
memberId
,
String
storeId
,
String
enterpriseId
)
{
if
(
StringUtils
.
isAnyBlank
(
clerkId
,
memberId
,
storeId
))
{
return
RestResponse
.
failure
(
Convert
.
toStr
(
HaoBanErrCode
.
ERR_2
.
getCode
()),
HaoBanErrCode
.
ERR_2
.
getMsg
());
return
RestResponse
.
failure
(
Convert
.
toStr
(
HaoBanErrCode
.
ERR_2
.
getCode
()),
HaoBanErrCode
.
ERR_2
.
getMsg
());
}
CustomerDTO
params
=
new
CustomerDTO
();
params
.
setClerkType
(
"0"
);
...
...
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