From 5e9db879a5b81f6a3520082554eee77f4877ab1a Mon Sep 17 00:00:00 2001 From: zhangmeng <494089941@qq.com> Date: Tue, 22 Feb 2022 10:02:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BB=BB=E5=8A=A1=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E6=8E=A5=E5=8F=A3api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/constants/sars_api.dart | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/lib/constants/sars_api.dart b/lib/constants/sars_api.dart index 80f83e97..ddf060c4 100644 --- a/lib/constants/sars_api.dart +++ b/lib/constants/sars_api.dart @@ -27,6 +27,7 @@ class SARSAPI { static _File uploadFile = _File(); static _Message message = _Message(); static _Community community = _Community(); + static _Task task = _Task(); ///二级分类 static _ProfileApi profile = _ProfileApi(); @@ -142,3 +143,29 @@ class _Community { ///新鲜话题 String get topNewList => '/app/user/community/topic/newList'; } + +class _Task { + ///取消任务(发布者,接单者) + String get cancel => '/app/user/taskRelease/cancel'; + + ///任务评价(发布者) + String get evaluation => '/app/user/taskRelease/evaluation'; + + ///确认任务(发布者) + String get confirm => '/app/user/taskRelease/confirm'; + + ///完成任务(接单者) + String get finish => '/app/user/taskRelease/finish'; + + ///开始服务(接单者) + String get startService => '/app/user/taskRelease/startService'; + + ///领取任务(接单者) + String get receive => '/app/user/taskRelease/receive'; + + ///发布任务 + String get insert => '/app/user/taskRelease/insert'; + + ///查询任务发布信息列表 + String get list => '/app/user/taskRelease/list'; +}