package com.huimv.mobile.controller; import com.huimv.mobile.domain.MobileApi; import com.huimv.mobile.result.Result; import com.huimv.mobile.service.MobileApiService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @Project : huimv.shiwan * @Package : com.huimv.mobile.controller * @Description : TODO * @Author : yuxuexuan * @Create : 2021/4/19 0019 13:52 **/ @RestController @RequestMapping("/api") public class MobileApiController { @Autowired private MobileApiService mobileApiService; public Result findAll(){ return mobileApiService.findAll(); } }