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
6cbed66c
Commit
6cbed66c
authored
Aug 22, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录判断
parent
5fc3fa3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
QywxOpenController.java
...haoban/manage/web/controller/open/QywxOpenController.java
+4
-0
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/open/QywxOpenController.java
View file @
6cbed66c
...
...
@@ -175,6 +175,7 @@ public class QywxOpenController {
*/
@RequestMapping
(
"login-init"
)
@IgnoreLogin
@com
.
gic
.
web
.
common
.
ano
.
IgnoreLogin
public
RestResponse
<
OpenStaffDTO
>
init
(
String
staffId
,
@RequestParam
(
defaultValue
=
"0"
)
int
loginAgainFlag
,
String
wxEnterpriseId
,
String
enterpriseId
)
{
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
ServiceResponse
<
OpenStaffDTO
>
staffResp
=
this
.
openStaffApiService
.
getByStaffId
(
staffId
)
;
...
...
@@ -242,6 +243,7 @@ public class QywxOpenController {
*/
@RequestMapping
(
"get-open-staff"
)
@IgnoreLogin
@com
.
gic
.
web
.
common
.
ano
.
IgnoreLogin
public
RestResponse
<
OpenStaffDTO
>
getOpenStaff
(
Long
openStaffId
)
{
ServiceResponse
<
OpenStaffDTO
>
resp
=
this
.
openStaffApiService
.
getById
(
openStaffId
);
if
(!
resp
.
isSuccess
())
{
...
...
@@ -263,6 +265,7 @@ public class QywxOpenController {
*/
@RequestMapping
(
"check-code"
)
@IgnoreLogin
@com
.
gic
.
web
.
common
.
ano
.
IgnoreLogin
public
RestResponse
<
Void
>
checkCode
(
Long
openStaffId
,
String
code
)
{
ServiceResponse
<
Void
>
resp
=
this
.
openStaffApiService
.
checkCode
(
openStaffId
,
code
);
if
(!
resp
.
isSuccess
())
{
...
...
@@ -382,6 +385,7 @@ public class QywxOpenController {
* @return
*/
@IgnoreLogin
@com
.
gic
.
web
.
common
.
ano
.
IgnoreLogin
@RequestMapping
(
"open-qrcode-for-clerk"
)
public
RestResponse
<
OpenClerkVO
>
cancelOpenStaff
(
String
wxEnterpriseId
,
String
enterpriseId
,
String
clerkCode
)
{
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isAnyBlank
(
wxEnterpriseId
,
enterpriseId
,
clerkCode
))
{
...
...
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