|
@@ -1,6 +1,8 @@
|
|
|
package com.fdkankan.tk.controller;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
import com.fdkankan.tk.common.ResultData;
|
|
|
+import com.fdkankan.tk.httpClient.client.FdKKClient;
|
|
|
import com.fdkankan.tk.request.SceneParam;
|
|
|
import com.fdkankan.tk.service.ISceneService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -8,6 +10,8 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import javax.annotation.Resource;
|
|
|
+
|
|
|
/**
|
|
|
* 场景数据
|
|
|
*/
|
|
@@ -16,6 +20,8 @@ public class SceneController extends BaseController {
|
|
|
|
|
|
@Autowired
|
|
|
ISceneService sceneService;
|
|
|
+ @Resource
|
|
|
+ FdKKClient fdKKClient;
|
|
|
/**
|
|
|
* 四维场景列表
|
|
|
*/
|
|
@@ -23,4 +29,11 @@ public class SceneController extends BaseController {
|
|
|
public ResultData sceneList(@RequestBody SceneParam param){
|
|
|
return ResultData.ok(sceneService.pageList(param,getToken()));
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 四维场景列表
|
|
|
+ */
|
|
|
+ @PostMapping("/getUserInfo")
|
|
|
+ public ResultData getUserInfo(){
|
|
|
+ return ResultData.ok(fdKKClient.getUserInfo(new JSONObject(),getToken()));
|
|
|
+ }
|
|
|
}
|