This commit is contained in:
1147192855@qq.com 2025-02-17 13:50:27 +08:00
parent 382840a3aa
commit 3efb94a0d2
4 changed files with 8 additions and 19 deletions

View File

@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
distributionUrl=https://services.gradle.org/distributions/gradle-7.6.3-all.zip

View File

@ -18,8 +18,8 @@ class RequestConfig {
static RequestConfig? _instance;
String baseUrl;
static const connectTimeout = 8000; //
static const receiveTimeout = 8000; //
static const connectTimeout = 8 * 1000; //
static const receiveTimeout = 8 * 1000; //
static const bool requestDataPrinting = true; //
static const bool printSwitch = true; //
static const successCode = [204, 200]; // code

View File

@ -36,17 +36,12 @@ class _AnnotateListState extends State<AnnotateList> with RequestToolMixin, Sing
late int page = 1;
late TabController tabController2;
/* 待阅卷 */
late final EasyRefreshController refreshController1;
late final EasyRefreshController refreshController2;
WorkStudentParams params = WorkStudentParams(
assessType: 0,
pageSize: 10,
);
WorkStudentParams params2 = WorkStudentParams(
assessType: 0,
pageSize: 10,
);
WorkStudentParams params = WorkStudentParams(assessType: 0, pageSize: 10);
WorkStudentParams params2 = WorkStudentParams(assessType: 0, pageSize: 10);
@override
void initState() {

View File

@ -105,18 +105,12 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
retrofit_generator: ^8.1.0
flutter_lints: ^4.0.0
retrofit_generator: ^9.0.0
build_runner: ^2.4.10
json_serializable: ^6.6.2
# 分离样式
functional_widget: ^0.10.2
analyzer: ^6.4.1
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^3.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec