getRuntimeEntity static method
获取运行时实体用户
和 currentUser 功能类似,提供冗余方法以提高灵活性
Implementation
static User? getRuntimeEntity() {
try {
User re = Get.find();
return re;
} catch (e) {
return null;
}
}
获取运行时实体用户
和 currentUser 功能类似,提供冗余方法以提高灵活性
static User? getRuntimeEntity() {
try {
User re = Get.find();
return re;
} catch (e) {
return null;
}
}