package com.pj.project.tb_app;

import com.pj.utils.sg.AjaxJson;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

@RestController
@RequestMapping("app")
public class AppApkController {
    @Resource
    private TbAppService appService;

    @GetMapping("updateInfo")
    public AjaxJson updateInfo() {
        TbApp app = appService.findUpApk();
        return AjaxJson.getSuccessData(app);
    }
}
