缩111
This commit is contained in:
parent
382840a3aa
commit
3efb94a0d2
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue