二维码对接

This commit is contained in:
2021-02-25 15:40:58 +08:00
parent f9c9d13c68
commit dfbc8f737d
4 changed files with 46 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ namespace QRCodeService.Application.Queries
{
connection.Open();
var link = await connection.QueryAsync<Link>(
@"SELECT ShortCode,FullUrl FROM Link WHERE ShortCode = @shortCode",new {shortCode });
@"SELECT ShortCode,FullUrl,AppId FROM Link WHERE ShortCode = @shortCode",new {shortCode });
return link.SingleOrDefault();
}
}

View File

@@ -11,5 +11,7 @@ namespace QRCodeService.Application.Queries
public string ShortCode { get; set; }
public string FullUrl { get; set; }
public int AppId { get; set; }
}
}