二维码对接
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,5 +11,7 @@ namespace QRCodeService.Application.Queries
|
||||
public string ShortCode { get; set; }
|
||||
|
||||
public string FullUrl { get; set; }
|
||||
|
||||
public int AppId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user