Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
store-system
Project
Project
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
luoyangfei
store-system
Commits
89ac8db1
Commit
89ac8db1
authored
Nov 15, 2018
by
wangyihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
adafe97d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
IndexController.java
...main/java/cn/com/fqy/controller/mapi/IndexController.java
+3
-5
No files found.
2code/server/store-system/src/main/java/cn/com/fqy/controller/mapi/IndexController.java
View file @
89ac8db1
...
@@ -37,7 +37,7 @@ public class IndexController {
...
@@ -37,7 +37,7 @@ public class IndexController {
@Resource
@Resource
private
StoreService
storeService
;
private
StoreService
storeService
;
@Resource
@Resource
WorkerService
workerService
;
private
WorkerService
workerService
;
/**
/**
* 分页展示广告
* 分页展示广告
...
@@ -74,10 +74,9 @@ public class IndexController {
...
@@ -74,10 +74,9 @@ public class IndexController {
*/
*/
@RequestMapping
(
"getStoreList"
)
@RequestMapping
(
"getStoreList"
)
@ResponseBody
@ResponseBody
public
ResultInfo
<
List
<
Store
>>
getStoreList
()
{
public
ResultInfo
<
List
<
Store
>>
getStoreList
(
Store
store
)
{
ResultInfo
<
List
<
Store
>>
resultInfo
=
new
ResultInfo
<
List
<
Store
>>();
ResultInfo
<
List
<
Store
>>
resultInfo
=
new
ResultInfo
<
List
<
Store
>>();
List
<
Store
>
listQuery
=
new
ArrayList
<>();
List
<
Store
>
listQuery
=
new
ArrayList
<>();
Store
store
=
new
Store
();
store
.
setIsDeleted
(
0
);
// 未删除
store
.
setIsDeleted
(
0
);
// 未删除
store
.
setIsAuditing
(
1
);
// 店铺启用状态
store
.
setIsAuditing
(
1
);
// 店铺启用状态
store
.
setIsShopping
(
1
);
// 店铺展示状态
store
.
setIsShopping
(
1
);
// 店铺展示状态
...
@@ -107,10 +106,9 @@ public class IndexController {
...
@@ -107,10 +106,9 @@ public class IndexController {
*/
*/
@RequestMapping
(
"getWorkerList"
)
@RequestMapping
(
"getWorkerList"
)
@ResponseBody
@ResponseBody
public
ResultInfo
<
List
<
Worker
>>
getWorkerList
()
{
public
ResultInfo
<
List
<
Worker
>>
getWorkerList
(
Worker
worker
)
{
ResultInfo
<
List
<
Worker
>>
resultInfo
=
new
ResultInfo
<
List
<
Worker
>>();
ResultInfo
<
List
<
Worker
>>
resultInfo
=
new
ResultInfo
<
List
<
Worker
>>();
List
<
Worker
>
listQuery
=
new
ArrayList
<>();
List
<
Worker
>
listQuery
=
new
ArrayList
<>();
Worker
worker
=
new
Worker
();
worker
.
setIsDeleted
(
0
);
// 未删除
worker
.
setIsDeleted
(
0
);
// 未删除
worker
.
setIsShopping
(
1
);
// 员工展示状态
worker
.
setIsShopping
(
1
);
// 员工展示状态
worker
.
setIsAuditing
(
1
);
worker
.
setIsAuditing
(
1
);
...
...
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