Commit 89ac8db1 authored by wangyihao's avatar wangyihao

修改

parent adafe97d
......@@ -37,7 +37,7 @@ public class IndexController {
@Resource
private StoreService storeService;
@Resource
WorkerService workerService;
private WorkerService workerService;
/**
* 分页展示广告
......@@ -74,10 +74,9 @@ public class IndexController {
*/
@RequestMapping("getStoreList")
@ResponseBody
public ResultInfo<List<Store>> getStoreList() {
public ResultInfo<List<Store>> getStoreList(Store store) {
ResultInfo<List<Store>> resultInfo = new ResultInfo<List<Store>>();
List<Store> listQuery = new ArrayList<>();
Store store = new Store();
store.setIsDeleted(0); // 未删除
store.setIsAuditing(1); // 店铺启用状态
store.setIsShopping(1); // 店铺展示状态
......@@ -107,10 +106,9 @@ public class IndexController {
*/
@RequestMapping("getWorkerList")
@ResponseBody
public ResultInfo<List<Worker>> getWorkerList() {
public ResultInfo<List<Worker>> getWorkerList(Worker worker) {
ResultInfo<List<Worker>> resultInfo = new ResultInfo<List<Worker>>();
List<Worker> listQuery = new ArrayList<>();
Worker worker = new Worker();
worker.setIsDeleted(0); // 未删除
worker.setIsShopping(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