feat:增加服务器接口模块

This commit is contained in:
2026-06-17 23:40:14 +08:00
parent ddd1c1960e
commit b816cdbc1c
18 changed files with 693 additions and 69 deletions

14
lib/models/auth.g.dart Normal file
View File

@@ -0,0 +1,14 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'auth.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Auth _$AuthFromJson(Map<String, dynamic> json) =>
Auth(userId: (json['userId'] as num).toInt());
Map<String, dynamic> _$AuthToJson(Auth instance) => <String, dynamic>{
'userId': instance.userId,
};