|
|
@@ -30,6 +30,7 @@ import com.zhongshu.iot.server.core.service.base.SuperService;
|
|
|
import com.zhongshu.iot.server.core.service.device.DeviceInfoService;
|
|
|
import com.zhongshu.iot.server.core.service.device.GateWayInfoService;
|
|
|
import com.zhongshu.iot.server.core.service.iot.IotDataVerifyService;
|
|
|
+import com.zhongshu.iot.server.core.service.iotPlatform.PlatformTopic;
|
|
|
import com.zhongshu.iot.server.core.util.CommonUtil;
|
|
|
import com.zhongshu.iot.server.core.util.DateUtils;
|
|
|
import com.zhongshu.iot.server.core.util.TokenUtil;
|
|
|
@@ -408,7 +409,7 @@ public class OperationMessageService {
|
|
|
String beanName = executeMethodInfo.getBeanName();
|
|
|
String methodName = executeMethodInfo.getMethodName();
|
|
|
Class c = applicationContext.getBean(beanName).getClass();
|
|
|
- SuperService t = (SuperService) applicationContext.getBean(beanName);
|
|
|
+ PlatformTopic t = (PlatformTopic) applicationContext.getBean(beanName);
|
|
|
Method method = c.getMethod(methodName, String.class, String.class);
|
|
|
ResultContent<Object> resultContent = (ResultContent<Object>) method.invoke(t, entity.getDataId(), dataStr);
|
|
|
if (resultContent.isSuccess()) {
|