public void OnStoreMapSuccess(ResturantPlatformType platformType, StoreMapInfo mapinfo) { //门店映射成功,接收token using (Way.Lib.CLog log = new Way.Lib.CLog("成功映射门店")) { log.Log($"erpStoreId:{mapinfo.ErpStoreId} token:{mapinfo.Token} refresh_token:{mapinfo.Refresh_token} expires:{mapinfo.Expires}"); } }
private static StoreMapInfo MappingStoreInfoModel(JToken posItem, DbContext dbContext) { var storeMapInfo = new StoreMapInfo { Id = Guid.NewGuid(), Name = posItem["name"].ToString(), Type = posItem["type"].ToString(), TypeCode = posItem["typecode"].ToString(), Address = posItem["address"].ToString(), Locaiton = posItem["location"].ToString(), Biz_Rating = posItem["biz_ext"]?["rating"]?.ToString(), Biz_Cost = posItem["biz_ext"]?["cost"]?.ToString(), Province = posItem["pname"].ToString(), City = posItem["cityname"].ToString(), District = posItem["adname"].ToString(), Photos = posItem["photos"].ToString(), Tel = posItem["tel"].ToString(), IdCode = posItem["id"].ToString() }; return(storeMapInfo); }
public void OnStoreMapSuccess(ResturantPlatformType platformType, StoreMapInfo mapinfo) { }
public void OnStoreMapSuccess(ResturantPlatformType platformType, StoreMapInfo mapinfo) { throw new NotImplementedException(); }