|
@@ -5,6 +5,7 @@ import com.fdkankan.common.util.JwtUtil;
|
|
|
import com.fdkankan.manage_jp.common.Result;
|
|
|
import com.fdkankan.manage_jp.entity.User;
|
|
|
import com.fdkankan.manage_jp.entity.UserRole;
|
|
|
+import com.fdkankan.manage_jp.httpClient.client.FdKKClient;
|
|
|
import com.fdkankan.manage_jp.service.IDownService;
|
|
|
import com.fdkankan.manage_jp.service.ISceneProService;
|
|
|
import com.fdkankan.manage_jp.service.IUserRoleService;
|
|
@@ -14,6 +15,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
+import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Set;
|
|
|
import java.util.stream.Collectors;
|
|
@@ -95,5 +97,15 @@ public class SceneProController extends BaseController{
|
|
|
return Result.success();
|
|
|
}
|
|
|
|
|
|
+ @Autowired
|
|
|
+ FdKKClient fdKKClient;
|
|
|
+
|
|
|
+ @GetMapping("/upgradeToV4")
|
|
|
+ public Result upgradeToV4(@RequestParam(required = false) String num){
|
|
|
+ HashMap<String,Object> map = new HashMap<>();
|
|
|
+ map.put("num",num);
|
|
|
+ return Result.success(fdKKClient.upgradeToV4(map));
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|