From e234a15b428267997c903a4ed42536c5d9f14a1f Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 10 十一月 2025 13:10:42 +0800
Subject: [PATCH] 2025.11.10 1. 新增巡查场景历史详情相关数据逻辑; 2. 新增工地施工阶段修改界面;
---
app/src/main/java/cn/flightfeather/thirdappmodule/httpservice/SearchService.kt | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/app/src/main/java/cn/flightfeather/thirdappmodule/httpservice/SearchService.kt b/app/src/main/java/cn/flightfeather/thirdappmodule/httpservice/SearchService.kt
index b1aa147..9d4b13b 100644
--- a/app/src/main/java/cn/flightfeather/thirdappmodule/httpservice/SearchService.kt
+++ b/app/src/main/java/cn/flightfeather/thirdappmodule/httpservice/SearchService.kt
@@ -1,11 +1,16 @@
package cn.flightfeather.thirdappmodule.httpservice
+import cn.flightfeather.thirdappmodule.bean.entity.Subtask
+import cn.flightfeather.thirdappmodule.model.bean.BaseResponse
import cn.flightfeather.thirdappmodule.model.bean.ExcelConfigVo
+import cn.flightfeather.thirdappmodule.util.Constant
import io.reactivex.Observable
import okhttp3.ResponseBody
import retrofit2.Response
import retrofit2.http.Body
+import retrofit2.http.GET
import retrofit2.http.POST
+import retrofit2.http.Query
/**
* @author riku
@@ -20,4 +25,12 @@
fun getExcel(
@Body config: ExcelConfigVo
): Observable<Response<ResponseBody>>
+
+ @GET("search/subtask/keyword")
+ fun searchSubtask(
+ @Query("userId") userId: String,
+ @Query("keyword") keyword:String,
+ @Query("page") page: Int,
+ @Query("perPage") perPage: Int = Constant.PAGE_SIZE
+ ): Observable<Response<BaseResponse<List<Subtask>>>>
}
\ No newline at end of file
--
Gitblit v1.9.3