anchorCare static method
zb关注
Implementation
static Future<DataResult> anchorCare(String? id) async {
Map other = {'userId': id};
var res = await BaseDao.fromBaseJson(other, Address.anchorCare());
if (res.result) {
var entity = TokenEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}