完成前端优化汇总(0623测试2) https://git.ghzs.com/pm/halo-app-issues/-/issues/1260#note_105557
This commit is contained in:
@ -172,7 +172,7 @@ class OkHttpCacheInterceptor implements Interceptor {
|
||||
*/
|
||||
private String appendUserMarkIfNeeded(String url) {
|
||||
if (TextUtils.isEmpty(url)
|
||||
// || TextUtils.isEmpty(HaloApp.getInstance().getServerUserMark())
|
||||
|| TextUtils.isEmpty(HaloApp.getInstance().getServerUserMark())
|
||||
|| url.contains("mark=")) {
|
||||
return url;
|
||||
}
|
||||
|
||||
@ -79,8 +79,9 @@ open class SearchDefaultFragment : BaseFragment<Any>() {
|
||||
hotSearch.exposureEvent = ExposureEvent.createEvent(
|
||||
hotSearch.toGameEntity().apply { sequence = index },
|
||||
listOf(ExposureSource("首页搜索"), ExposureSource("热门搜索")))
|
||||
hotSearch.name = hotSearch.name.removeSuffix(".")
|
||||
if (!hotSearch.name.endsWith(hotSearch.nameSuffix ?: "")) {
|
||||
hotSearch.name = hotSearch.name.removeSuffix(".") + (hotSearch.nameSuffix ?: "")
|
||||
hotSearch.name = hotSearch.name + (hotSearch.nameSuffix ?: "")
|
||||
}
|
||||
ExposureManager.log(hotSearch.exposureEvent!!)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user