Merge remote-tracking branch 'origin/dev' into dev_lishuo
This commit is contained in:
commit
a49acaab1e
94 files changed
+5564
-2224
No files matched your search
@@ -446,7 +446,7 @@ namespace Assets.Scripts.Apis
|
||||
private void AddLanguage()
|
||||
{
|
||||
httpClient.DefaultRequestHeaders.Remove("Language");
|
||||
//httpClient.DefaultRequestHeaders.Add("Language", PubCommData.Lauguage);
|
||||
httpClient.DefaultRequestHeaders.Add("Language", "en");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -69,5 +69,8 @@ namespace Assets.Scripts.Apis.Models
|
||||
public DateTime LastUpdateWeightTime { get; set; }
|
||||
|
||||
public DateTime LastUpdateBicycleWeightTime { get; set; }
|
||||
public DateTime LastUpdateMaxHeartRate { get; set; }
|
||||
public DateTime LastUpdateWheelStraight { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,9 @@ namespace Assets.Scripts.Apis
|
||||
}
|
||||
public async Task<Stream> GetMapImage(IpToGeoModel locationInfo)
|
||||
{
|
||||
return await GetThirdPartStreamAsync($"https://api.mapbox.com/styles/v1/mapbox/dark-v10/static/{locationInfo.longitude},{locationInfo.latitude},12.14,0/1280x1280?access_token=pk.eyJ1IjoiYW5keXNqdCIsImEiOiJja2ZhajE5OGwwamRiMnltcW96bHk0ZWFuIn0.GvKanc6UveWSvIjS9HfBPA");
|
||||
return await GetThirdPartStreamAsync($"https://api.mapbox.com/styles/v1/juzetest/ckmkdjwsa1nvt17nr1ps4fqgs/static/{locationInfo.longitude},{locationInfo.latitude},12.14,0/1280x1280?access_token=pk.eyJ1IjoianV6ZXRlc3QiLCJhIjoiY2ttazhsbnpiMGVrdjJucGhyNnh6eXcxYSJ9.6zj2U9eFCNJRMljNlMxjVg");
|
||||
//pk.eyJ1IjoiYW5keXNqdCIsImEiOiJja2ZhajE5OGwwamRiMnltcW96bHk0ZWFuIn0.GvKanc6UveWSvIjS9HfBPA
|
||||
//pk.eyJ1IjoiYW5keXNqdCIsImEiOiJja2ZhajE5OGwwamRiMnltcW96bHk0ZWFuIn0.GvKanc6UveWSvIjS9HfBPA
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user