|
@@ -1,10 +1,12 @@
|
|
|
package com.yingyang.workbenches.net
|
|
|
|
|
|
import com.yingyang.workbenches.entity.CountTrainBean
|
|
|
+import com.yingyang.workbenches.entity.ServicePackageBean
|
|
|
import com.yingyang.workbenches.entity.WorkBenchesBean
|
|
|
import com.yingyangfly.baselib.net.BaseResp
|
|
|
import okhttp3.RequestBody
|
|
|
-import retrofit2.http.*
|
|
|
+import retrofit2.http.Body
|
|
|
+import retrofit2.http.POST
|
|
|
|
|
|
interface WorkbenchesApiService {
|
|
|
|
|
@@ -21,4 +23,10 @@ interface WorkbenchesApiService {
|
|
|
*/
|
|
|
@POST("app/user/countTrain")
|
|
|
suspend fun getCountTrain(): BaseResp<CountTrainBean>
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取服务套餐列表
|
|
|
+ */
|
|
|
+ @POST("app/user/selectAllPackage")
|
|
|
+ suspend fun getSelectAllPackage(): BaseResp<ServicePackageBean>
|
|
|
}
|