线路列表排序增加near下拉项

This commit is contained in:
lishuo committed 2021-08-19 11:24:57 +08:00
1 parent a6f673f805
commit dd669d74f5
4 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ namespace Assets.Scripts.Apis
public Task<JsonResult<List<MapRoute>>> GetList(int pageIndex, int pageSize, string name, string distance="", string hands="", bool is3D=false, string sort="", string sortDire = "", bool isFav = false)
{
string lngLat = "";
if (string.IsNullOrEmpty(name) && string.IsNullOrEmpty(distance) && string.IsNullOrEmpty(hands) && !is3D && sort.Equals("Hot") && sortDire.Equals("desc") && !isFav)
if (string.IsNullOrEmpty(name) && string.IsNullOrEmpty(distance) && string.IsNullOrEmpty(hands) && !is3D && sort.Equals("Near") && !isFav)
{
lngLat = $"{App.longitude},{App.latitude}";
}