package com.ruoyi.web.controller.coffee;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.model.LoginUser;
import com.ruoyi.framework.web.service.TokenService;
import com.ruoyi.system.service.impl.AppServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
@RequestMapping("/app")
public class AppController {
    @Autowired
    private TokenService tokenService;
    @Autowired
    private AppServiceImpl appService;
    @RequestMapping("/getShop")
    public AjaxResult getShop(String lng,String lat){

        return AjaxResult.success(appService.getShop(lng,lat));



    }
}
