|
@@ -1,8 +1,13 @@
|
|
package com.yh.saas.plugin.yiliangyiyun.controller;
|
|
package com.yh.saas.plugin.yiliangyiyun.controller;
|
|
|
|
|
|
|
|
|
|
|
|
+import com.yh.saas.plugin.yiliangyiyun.entity.AppVersion;
|
|
|
|
+import com.yh.saas.plugin.yiliangyiyun.service.IAppVersionService;
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -16,6 +21,16 @@ import org.springframework.web.bind.annotation.RestController;
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("/appVersion")
|
|
@RequestMapping("/appVersion")
|
|
public class AppVersionController {
|
|
public class AppVersionController {
|
|
|
|
+ @Autowired
|
|
|
|
+ private IAppVersionService appVersionService;
|
|
|
|
+ /**
|
|
|
|
+ * 查看合同信息
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/selectInfo")
|
|
|
|
+ public AppVersion selectInfo(@RequestParam String appid, String version, String imei) {
|
|
|
|
+ return appVersionService.selectInfo(appid,version,imei);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|