We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
///查询单条数据 Future queryObject(objectId) async { String tableName = T.toString(); if (T.runtimeType is BmobUser) { tableName = "_User"; } else if (T.runtimeType is BmobInstallation) { tableName = "_Installation"; }
return BmobDio.getInstance().get( Bmob.BMOB_API_CLASSES + tableName + Bmob.BMOB_API_SLASH + objectId, data: getParams());
}
上述通过T.runtimeType 去判断是用“_User”表还是“_Installation”表,操作是无效的,导致无法查询用户表数据
The text was updated successfully, but these errors were encountered:
你好,已经修复,请使用单独的新的查询用户和设备表的方法。
Sorry, something went wrong.
No branches or pull requests
///查询单条数据
Future queryObject(objectId) async {
String tableName = T.toString();
if (T.runtimeType is BmobUser) {
tableName = "_User";
} else if (T.runtimeType is BmobInstallation) {
tableName = "_Installation";
}
}
上述通过T.runtimeType 去判断是用“_User”表还是“_Installation”表,操作是无效的,导致无法查询用户表数据
The text was updated successfully, but these errors were encountered: