Commit 54a06331 by 段启岩

添加app版本查询功能

parent 2fd5907a
......@@ -3,6 +3,7 @@ package cn.meteor.beyondclouds.modules.app.controller;
import cn.meteor.beyondclouds.core.api.Response;
import cn.meteor.beyondclouds.modules.app.entity.AppVersion;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
......@@ -20,6 +21,7 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/api")
public class AppVersionApi {
@GetMapping("/app/version/latest")
public Response<AppVersion> getLatestVersion() {
// TODO 获取最新版本信息
return null;
......
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