稍微逻辑修改
This commit is contained in:
1 parent
dd669d74f5
commit
34a2c0bbb2
2 files changed
+12
-3
No files matched your search
@@ -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("Near") && !isFav)
|
||||
if (sort.Equals("Near"))
|
||||
{
|
||||
lngLat = $"{App.longitude},{App.latitude}";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user