isdefault -> id

pull/1/head
张萌 3 years ago
parent 8266b76035
commit a829e7527d

@ -93,9 +93,10 @@ class _MyHousePageState extends State<MyHousePage> {
children: [
GestureDetector(
onTap: () async {
print(model.id);
var base = await NetUtil().get(
SAASAPI.profile.house.switchDefaultEstate,
params: {'estateId': model.isDefault});
params: {'estateId': model.id});
if (base.success) {
await UserTool.userProvider.updateMyHouseInfo();
_refreshController.callRefresh();

Loading…
Cancel
Save