Ado, directly on the code
ps: data from the interface to play Android open API
@FormUrlEncoded//收藏文章
@POST("lg/collect/1165/json")
fun postlike(@HeaderMap headers: Map<String, String>,@Field("id") id:String): Observable<ShoucangBeans>
@GET("lg/collect/list/0/json")
fun getshou(@HeaderMap headers: Map<String, String>):Observable<ShoucangLieBean>