|
|
@@ -0,0 +1,34 @@
|
|
|
+package com.cdf.controller.service;
|
|
|
+
|
|
|
+import com.cdf.aop.SysLog;
|
|
|
+import com.cdf.common.ResultData;
|
|
|
+import com.cdf.httpClient.client.FdkkClient;
|
|
|
+import com.cdf.httpClient.request.FdkkHotRequest;
|
|
|
+import com.cdf.httpClient.request.FdkkUploadRequest;
|
|
|
+import com.cdf.httpClient.response.FdkkResponse;
|
|
|
+import com.cdf.service.impl.FdkkSceneEditService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.multipart.MultipartFile;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
+import java.io.IOException;
|
|
|
+import java.util.HashMap;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@RequestMapping("/service/scene")
|
|
|
+public class FdkkSceneSceneController {
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ private FdkkClient fdkkClient;
|
|
|
+
|
|
|
+ @GetMapping("/getInfo")
|
|
|
+ public ResultData getInfo(@RequestParam(required = false) String num){
|
|
|
+ HashMap<String, String> map = new HashMap<>();
|
|
|
+ map.put("num",num);
|
|
|
+ FdkkResponse info = fdkkClient.getInfo(map);
|
|
|
+ return ResultData.ok(info.getMsg(),info.getData());
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|