|
|
@@ -1,7 +1,6 @@
|
|
|
package com.ruoyi.app.user;
|
|
|
|
|
|
|
|
|
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.ruoyi.app.mendian.PosStoreEnrichService;
|
|
|
import com.ruoyi.common.annotation.Anonymous;
|
|
|
@@ -19,8 +18,6 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.List;
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.Map;
|
|
|
|
|
|
import com.ruoyi.system.mapper.PosOrderMapper;
|
|
|
import com.ruoyi.app.user.dto.StoreOutput;
|
|
|
@@ -54,27 +51,6 @@ public class UserAppIndexController extends BaseController {
|
|
|
@Autowired
|
|
|
private PosStoreEnrichService posStoreEnrichService;
|
|
|
|
|
|
- /**
|
|
|
- * 获取夜市列表
|
|
|
- * @return
|
|
|
- */
|
|
|
- @Anonymous
|
|
|
- @GetMapping("/getNightMarketList")
|
|
|
- public AjaxResult getNightMarketList(){
|
|
|
- LambdaQueryWrapper<InfoUser> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
- queryWrapper.eq(InfoUser::getUserType,"3");
|
|
|
- List<InfoUser> list = infoUserService.list(queryWrapper);
|
|
|
- List<Map<String,Object>> result = new ArrayList<>();
|
|
|
-// list.forEach(infoUser -> {
|
|
|
-// Map<String,Object> map = new JSONObject();
|
|
|
-// map.put("id",infoUser.getUserId());
|
|
|
-// map.put("name",infoUser.getUserName());
|
|
|
-//// map.put("phone",infoUser.getPhone());
|
|
|
-// result.add(map);
|
|
|
-// });
|
|
|
- return success(list);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 获取门店分页列表
|
|
|
*/
|