You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
559 B

import 'package:aku_community_manager/const/api.dart';
import 'package:aku_community_manager/models/manager/decoration/decoration_detail_model.dart';
import 'package:aku_community_manager/utils/network/net_util.dart';
import 'package:dio/dio.dart';
class ManageFunc {
static Future<DecorationDetailModel> getDetcorationDetail(int id) async {
Response response = await NetUtil()
.dio
.get(API.manage.decorationFindByld, queryParameters: {
'decorationId': id,
});
return DecorationDetailModel.fromJson(response.data);
}
}