解决启动错误

This commit is contained in:
heavyrain.lee
2019-04-26 09:47:21 +08:00
parent 8721c80a9f
commit 744d516932
@@ -89,8 +89,8 @@ abstract public class IMHandler<T> {
for (Method method : getClass().getDeclaredMethods()
) {
if (method.getName() == actionName && method.getParameterCount() == 5) {
dataCls = method.getParameterTypes()[3];
if (method.getName() == actionName && method.getParameterCount() == 6) {
dataCls = method.getParameterTypes()[4];
break;
}
}