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
572 B

// Project imports:
import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/message/system_message_detail_model.dart';
import 'package:akuCommunity/utils/network/base_model.dart';
import 'package:akuCommunity/utils/network/net_util.dart';
class MessageFunc {
static Future<SystemMessageDetailModel> getSystemMessageDetial(int id) async {
BaseModel baseModel =
await NetUtil().get(API.message.getSystemMessageDetial, params: {
'sysMessageId': id,
});
return SystemMessageDetailModel.fromJson(baseModel.data);
}
}