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
22692482
Commit
22692482
authored
Jun 05, 2025
by
王祖波
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-recommend2' into 'master'
配置 See merge request
!2925
parents
47690bc1
e18a95dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
WxStaffController.java
...m/gic/haoban/manage/web/controller/WxStaffController.java
+7
-8
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxStaffController.java
View file @
22692482
...
@@ -288,14 +288,18 @@ public class WxStaffController extends WebBaseController {
...
@@ -288,14 +288,18 @@ public class WxStaffController extends WebBaseController {
*/
*/
@IgnoreLogin
@IgnoreLogin
@RequestMapping
(
"/get-audit-setting"
)
@RequestMapping
(
"/get-audit-setting"
)
public
HaobanResponse
getAuditSetting
(
String
wxEnterpriseId
)
{
public
HaobanResponse
getAuditSetting
(
String
wxEnterpriseId
,
String
enterpriseId
)
{
if
(
StringUtils
.
isAnyBlank
(
wxEnterpriseId
))
{
if
(
StringUtils
.
isAnyBlank
(
wxEnterpriseId
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
}
AuditSettingDTO
auditSetting
=
auditSettingApiService
.
findSettingByWxEnterpriseId
(
wxEnterpriseId
);
AuditSettingDTO
auditSetting
=
auditSettingApiService
.
findSettingByWxEnterpriseId
(
wxEnterpriseId
);
AuditSettingVO
auditSettingVO
=
EntityUtil
.
changeEntityNew
(
AuditSettingVO
.
class
,
auditSetting
);
AuditSettingVO
auditSettingVO
=
EntityUtil
.
changeEntityNew
(
AuditSettingVO
.
class
,
auditSetting
);
int
potentialHide
=
StringUtils
.
isNotBlank
(
MarketingSwitcher
.
POTENTIAL_HIDE_STORE_ENTERPRISE_ID
)
&&
StringUtils
.
isNotBlank
(
enterpriseId
)
&&
MarketingSwitcher
.
POTENTIAL_HIDE_STORE_ENTERPRISE_ID
.
contains
(
enterpriseId
)
?
1
:
0
;
auditSettingVO
.
setPotentialHide
(
potentialHide
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
auditSettingVO
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
auditSettingVO
);
}
}
...
@@ -308,7 +312,7 @@ public class WxStaffController extends WebBaseController {
...
@@ -308,7 +312,7 @@ public class WxStaffController extends WebBaseController {
*/
*/
@IgnoreLogin
@IgnoreLogin
@RequestMapping
(
"/get-user-setting"
)
@RequestMapping
(
"/get-user-setting"
)
public
HaobanResponse
getUserSetting
(
String
wxEnterpriseId
,
String
staffId
,
String
enterpriseId
)
{
public
HaobanResponse
getUserSetting
(
String
wxEnterpriseId
,
String
staffId
)
{
if
(
StringUtils
.
isAnyBlank
(
wxEnterpriseId
))
{
if
(
StringUtils
.
isAnyBlank
(
wxEnterpriseId
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
}
...
@@ -354,11 +358,6 @@ public class WxStaffController extends WebBaseController {
...
@@ -354,11 +358,6 @@ public class WxStaffController extends WebBaseController {
auditSettingVO
.
setShowAiCustom
(
this
.
aiCustom
(
storeDTO
.
getEnterpriseId
()));
auditSettingVO
.
setShowAiCustom
(
this
.
aiCustom
(
storeDTO
.
getEnterpriseId
()));
int
potentialHide
=
StringUtils
.
isNotBlank
(
MarketingSwitcher
.
POTENTIAL_HIDE_STORE_ENTERPRISE_ID
)
&&
StringUtils
.
isNotBlank
(
enterpriseId
)
&&
MarketingSwitcher
.
POTENTIAL_HIDE_STORE_ENTERPRISE_ID
.
contains
(
enterpriseId
)
?
1
:
0
;
auditSettingVO
.
setPotentialHide
(
potentialHide
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
auditSettingVO
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
auditSettingVO
);
}
}
...
...
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