| | |
| | | |
| | | import com.android.app_base.http.ResultData; |
| | | import com.application.zhangshi_app_android.bean.CaptchaImageBean; |
| | | import com.application.zhangshi_app_android.bean.ContactsDetailBean; |
| | | import com.application.zhangshi_app_android.bean.ContactsResponseBean; |
| | | import com.application.zhangshi_app_android.bean.FamilyAssetsResponseBean; |
| | | import com.application.zhangshi_app_android.bean.FamilyMemorabiliaBean; |
| | | import com.application.zhangshi_app_android.bean.FamilyMemorabiliaRequestBean; |
| | | import com.application.zhangshi_app_android.bean.FamilyMemorabiliaResponseBean; |
| | | import com.application.zhangshi_app_android.bean.GrowthExperienceAbroadConditionBean; |
| | | import com.application.zhangshi_app_android.bean.GrowthExperienceAutobiographyBean; |
| | | import com.application.zhangshi_app_android.bean.GrowthExperienceBean; |
| | | import com.application.zhangshi_app_android.bean.GrowthExperienceHolderConditionBean; |
| | | import com.application.zhangshi_app_android.bean.GrowthExperienceInformationBean; |
| | | import com.application.zhangshi_app_android.bean.GrowthExperienceRelationshipBean; |
| | | import com.application.zhangshi_app_android.bean.HomeDevicesResponseBean; |
| | | import com.application.zhangshi_app_android.bean.HonorCollectionResponseBean; |
| | | import com.application.zhangshi_app_android.bean.IncomeAndExpensesResponseBean; |
| | | import com.application.zhangshi_app_android.bean.LittleDoctorResponseBean; |
| | | import com.application.zhangshi_app_android.bean.LoginRequestBean; |
| | | import com.application.zhangshi_app_android.bean.LoginResponseBean; |
| | | import com.application.zhangshi_app_android.bean.UploadFileResponseBean; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import io.reactivex.Observable; |
| | | import okhttp3.MultipartBody; |
| | | import retrofit2.http.Body; |
| | | import retrofit2.http.DELETE; |
| | | import retrofit2.http.GET; |
| | | import retrofit2.http.Multipart; |
| | | import retrofit2.http.POST; |
| | | import retrofit2.http.PUT; |
| | | import retrofit2.http.Part; |
| | | import retrofit2.http.Path; |
| | | import retrofit2.http.Query; |
| | | import retrofit2.http.QueryMap; |
| | | |
| | | /** |
| | |
| | | * 获取家大事件 |
| | | */ |
| | | @GET("family/zfEvent/all") |
| | | Observable<ResultData<FamilyMemorabiliaResponseBean>> getFamilyMemorabilia(@QueryMap Map<String,Object> queryMap); |
| | | Observable<ResultData<FamilyMemorabiliaResponseBean>> getFamilyMemorabilia(@QueryMap Map<String,Object> paramsMap); |
| | | /** |
| | | * 增加家大事记 |
| | | */ |
| | |
| | | Observable<ResultData<String>> updateFamilyMemorabilia(@Body FamilyMemorabiliaBean familyMemorabiliaBean); |
| | | |
| | | |
| | | /** |
| | | * 上传文件 |
| | | */ |
| | | @Multipart |
| | | @POST("/common/upload") |
| | | Observable<ResultData<UploadFileResponseBean>> uploadFile(@Part MultipartBody.Part file); |
| | | |
| | | /** |
| | | * 获取家庭资产 |
| | | */ |
| | | @GET("/family/property/all") |
| | | Observable<ResultData<FamilyAssetsResponseBean>> getFamilyAssets(@QueryMap Map<String, Object> paramsMap); |
| | | |
| | | /** |
| | | * 获取家庭设备 |
| | | */ |
| | | @GET("/zfEquipment/all") |
| | | Observable<ResultData<HomeDevicesResponseBean>> getHomeDevices(@QueryMap Map<String, Object> paramsMap); |
| | | |
| | | /** |
| | | <<<<<<< HEAD |
| | | * 获取家庭荣誉 |
| | | */ |
| | | @GET("/zfCollection/all") |
| | | Observable<ResultData<HonorCollectionResponseBean>> getHonorCollections(@QueryMap Map<String, Object> paramsMap); |
| | | |
| | | /** |
| | | * 获取小医生 |
| | | */ |
| | | @GET("/zfDoctor/all") |
| | | Observable<ResultData<LittleDoctorResponseBean>> getLittleDoctors(@QueryMap Map<String, Object> map); |
| | | |
| | | /** |
| | | * 获取收支 |
| | | */ |
| | | @GET("/zfEconomy/all") |
| | | Observable<ResultData<IncomeAndExpensesResponseBean>> getIncomeAndExpenses(@QueryMap Map<String, Object> map); |
| | | |
| | | /** |
| | | * 获取成长经历个人信息 |
| | | */ |
| | | @GET("/self/user") |
| | | Observable<ResultData<GrowthExperienceInformationBean>> getGrowthExperienceInformation(); |
| | | |
| | | /** |
| | | * 获取成长经历(主要学习及工作经历) |
| | | */ |
| | | @GET("/zExperience/all") |
| | | Observable<ResultData<List<GrowthExperienceBean>>> getGrowthExperience(); |
| | | |
| | | /** |
| | | * 获取成长经历(家庭成员及主要社会关系情况) |
| | | */ |
| | | @GET("/self/user/relation") |
| | | Observable<ResultData<List<GrowthExperienceRelationshipBean>>> getGrowthExperienceRelationship(); |
| | | |
| | | /** |
| | | * 获取成长经历(持有出入境证件情况) |
| | | */ |
| | | @GET("/zCertificate/all") |
| | | Observable<ResultData<List<GrowthExperienceHolderConditionBean>>> getGrowthExperienceHolderCondition(); |
| | | |
| | | /** |
| | | * 获取成长经历(出国境情况) |
| | | */ |
| | | @GET("/zAbroad/all") |
| | | Observable<ResultData<List<GrowthExperienceAbroadConditionBean>>> getGrowthExperienceAbroadCondition(); |
| | | /** |
| | | * 获取自传 |
| | | */ |
| | | @GET("/zAutobiography/all") |
| | | Observable<ResultData<List<GrowthExperienceAutobiographyBean>>> getGrowthExperienceAutobiography(); |
| | | |
| | | /** |
| | | * 获取通讯录 |
| | | */ |
| | | @GET("/zfContact/all") |
| | | Observable<ResultData<ContactsResponseBean>> getContacts(@QueryMap Map<String, Object> paramsMap); |
| | | } |