李昊 4 years ago
parent
commit
2a79d68cc1

+ 2 - 2
gx_api/GxPress/Repository/GxPress.Repository.Implement/Media/MediaRepository.cs

@@ -236,7 +236,7 @@ namespace GxPress.Repository.Implement.Media
                     str += item + ",";
                 str = str.Remove(str.Length - 1, 1);
                 var sql = $@"SELECT 
-                            Id,ImageUrls,Title,Author,MediaType,ReadCount,CreatedDate
+                            Id,Summary,ImageUrls,Title,Author,MediaType,ReadCount,CreatedDate
                         FROM
                             tede_media
                         WHERE
@@ -269,7 +269,7 @@ namespace GxPress.Repository.Implement.Media
                     str += item + ",";
                 str = str.Remove(str.Length - 1, 1);
                 var sql = $@"SELECT 
-                            Id,ImageUrls,Title,Author,MediaType,ReadCount,CreatedDate
+                            Id,Summary,ImageUrls,Title,Author,MediaType,ReadCount,CreatedDate
                         FROM
                             tede_media
                         WHERE