|
@@ -9,6 +9,7 @@ import com.fdkankan.ucenter.service.*;
|
|
|
import com.fdkankan.ucenter.vo.request.SceneParam;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestHeader;
|
|
@@ -102,7 +103,7 @@ public class SceneController {
|
|
|
*
|
|
|
* 场景升级V4接口
|
|
|
*/
|
|
|
- @Get(value = "/upgradeToV4")
|
|
|
+ @GetMapping("/upgradeToV4")
|
|
|
public Result upgradeToV4(String num) throws Exception{
|
|
|
return sceneUpgradeToV4Service.upgrade(num);
|
|
|
}
|
|
@@ -111,7 +112,7 @@ public class SceneController {
|
|
|
*
|
|
|
* 场景升级进度查询接口
|
|
|
*/
|
|
|
- @RequestMapping(value = "/getUpgradeToV4Progress", method = RequestMethod.GET)
|
|
|
+ @GetMapping("/getUpgradeToV4Progress")
|
|
|
public Result getUpgradeToV4Progress(String num) throws Exception{
|
|
|
return sceneUpgradeToV4Service.getUpgradeToV4Progress(num);
|
|
|
}
|