|
@@ -1,12 +1,12 @@
|
|
|
package com.zcxk.water.web.controller;
|
|
|
|
|
|
import com.zcxk.core.common.pojo.AjaxMessage;
|
|
|
-import com.zcxk.iot.sync.auth.AuthIotService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
* @description
|
|
@@ -19,13 +19,10 @@ import org.springframework.web.bind.annotation.*;
|
|
|
@Slf4j
|
|
|
public class TestController {
|
|
|
|
|
|
- @Autowired
|
|
|
- private AuthIotService authIotService;
|
|
|
|
|
|
@RequestMapping(value="getToken" , method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "查询单个报警详情信息")
|
|
|
public AjaxMessage getToken(){
|
|
|
- authIotService.getToken();
|
|
|
return AjaxMessage.success();
|
|
|
}
|
|
|
|