Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
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
base_platform_enterprise
gic-store
Commits
fc1b17c2
Commit
fc1b17c2
authored
Jun 15, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店控件增加接口
parent
15158367
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
StoreDictController.java
...ava/com/gic/store/web/controller/StoreDictController.java
+4
-4
No files found.
gic-store-web/src/main/java/com/gic/store/web/controller/StoreDictController.java
View file @
fc1b17c2
...
...
@@ -139,7 +139,7 @@ public class StoreDictController {
@RequestMapping
(
"save-status-type"
)
@ResponseBody
public
RestResponse
saveStoreStatusAndStoreType
(
String
storeStatus
,
String
storeType
){
AuditLogDTO
auditLogDTO
=
new
AuditLogDTO
();
/*
AuditLogDTO auditLogDTO = new AuditLogDTO();
// 商户id
auditLogDTO.setEnterpriseId(UserDetailUtils.getUserDetail().getEnterpriseId());
// 申请人id
...
...
@@ -154,8 +154,8 @@ public class StoreDictController {
jsonObject.put("storeType", storeType);
auditLogDTO.setExtraInfo(jsonObject.toJSONString());
ServiceResponse<Void> serviceResponse = auditLogApiService.apply(auditLogDTO);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
/*
Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId();
return ResultControllerUtils.commonResult(serviceResponse);
*/
Integer
enterpriseId
=
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
();
String
key
=
"storeStatusAndType:"
+
enterpriseId
;
Object
cache
=
RedisUtil
.
getCache
(
key
);
if
(
cache
!=
null
){
...
...
@@ -170,7 +170,7 @@ public class StoreDictController {
return
RestResponse
.
success
();
}
else
{
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
}
*/
}
}
...
...
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