|
|
@@ -5,9 +5,7 @@ import com.zhongshu.iot.client.model.mqtt.GateWayBindDeviceParam;
|
|
|
import com.zhongshu.iot.client.model.mqtt.GateWayInfoAddParam;
|
|
|
import com.zhongshu.iot.client.model.mqtt.MqttInfoReturnModel;
|
|
|
import com.zhongshu.iot.server.core.service.base.AkSignService;
|
|
|
-import com.zhongshu.iot.server.core.service.mqtt.DeviceInfoService;
|
|
|
import com.zhongshu.iot.server.core.service.mqtt.GateWayInfoService;
|
|
|
-import com.zhongshu.iot.server.core.service.mqtt.GateWayUserInfoService;
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
@@ -35,15 +33,9 @@ public class GateWayFreeController {
|
|
|
@Autowired
|
|
|
GateWayInfoService gateWayInfoService;
|
|
|
|
|
|
- @Autowired
|
|
|
- DeviceInfoService deviceInfoService;
|
|
|
-
|
|
|
@Autowired
|
|
|
private AkSignService akSignService;
|
|
|
|
|
|
- @Autowired
|
|
|
- private GateWayUserInfoService gateWayUserInfoService;
|
|
|
-
|
|
|
@Operation(summary = "注册网关")
|
|
|
@RequestMapping(value = "registerGateWay", method = {RequestMethod.POST})
|
|
|
public ResultContent<MqttInfoReturnModel> registerGateWay(@RequestBody GateWayInfoAddParam param) {
|