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

View File

@@ -0,0 +1,7 @@
import 'package:dio/dio.dart';
final dioService = Dio(BaseOptions(
baseUrl: 'http://192.168.31.108:2836/api',
connectTimeout: Duration(seconds: 10),
headers: {'Content-Type': 'application/json'},
));