Commit 89ac8db1 authored by wangyihao's avatar wangyihao

修改

parent adafe97d
...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment