如何在没有 & 的情况下在改造 Android url 中附加动态值

问题描述 投票:0回答:0

我想在决赛中拥有: https://api.ocs.fr/apps/v2/contents?search=title=value 价值动态在哪里

我的代码:

@GET("内容?搜索=") 暂停有趣的getProgrammes( @Query("标题") 标题:字符串 ) BASE_URL = "https://api.ocs.fr/apps/v2/"

我得到结果https://api.ocs.fr/apps/v2/contents?search=&title=rouge

我不想要“&”,有什么帮助吗?

android retrofit
© www.soinside.com 2019 - 2024. All rights reserved.