Browse Source

修改Bing模型(返回模型名称添加Web标记)

yuzhengyang 6 years ago
parent
commit
e1b2b2f764

+ 0 - 1
Azylee.Utils/Azylee.YeahWeb/Azylee.YeahWeb.csproj

@@ -53,7 +53,6 @@
     <Compile Include="BaiDuWebAPI\IPLocationAPI\IPLocationWebModel.cs" />
     <Compile Include="BaiDuWebAPI\IPLocationAPI\IPLocationWebModel.cs" />
     <Compile Include="BaiDuWebAPI\IPLocationAPI\IPLocationTool.cs" />
     <Compile Include="BaiDuWebAPI\IPLocationAPI\IPLocationTool.cs" />
     <Compile Include="EmailUtils\EmailTool.cs" />
     <Compile Include="EmailUtils\EmailTool.cs" />
-    <Compile Include="ExtWebAPI\BingWebAPI\WallpaperUtils\WallpaperModel.cs" />
     <Compile Include="ExtWebAPI\BingWebAPI\WallpaperUtils\WallpaperWebModel.cs" />
     <Compile Include="ExtWebAPI\BingWebAPI\WallpaperUtils\WallpaperWebModel.cs" />
     <Compile Include="ExtWebAPI\BingWebAPI\WallpaperUtils\WallpaperTool.cs" />
     <Compile Include="ExtWebAPI\BingWebAPI\WallpaperUtils\WallpaperTool.cs" />
     <Compile Include="FTPUtils\FTPTool.cs" />
     <Compile Include="FTPUtils\FTPTool.cs" />

+ 0 - 12
Azylee.Utils/Azylee.YeahWeb/ExtWebAPI/BingWebAPI/WallpaperUtils/WallpaperModel2.cs

@@ -1,12 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace Azylee.YeahWeb.ExtWebAPI.BingWebAPI.WallpaperUtils
-{
-    public class WallpaperModel
-    {
-        public string  Name { get; set; }
-    }
-}

+ 1 - 1
Azylee.Utils/Azylee.YeahWeb/ExtWebAPI/BingWebAPI/WallpaperUtils/WallpaperTool.cs

@@ -41,7 +41,7 @@ namespace Azylee.YeahWeb.ExtWebAPI.BingWebAPI.WallpaperUtils
             List<ImagesItem> result = new List<ImagesItem>();
             List<ImagesItem> result = new List<ImagesItem>();
             for (var i = 0; i < 10; i++)
             for (var i = 0; i < 10; i++)
             {
             {
-                WallpaperModel model = GetSomeday(i);
+                WallpaperWebModel model = GetSomeday(i);
                 if (model != null && Ls.Ok(model.images))
                 if (model != null && Ls.Ok(model.images))
                 {
                 {
                     foreach (var img in model.images)
                     foreach (var img in model.images)

+ 1 - 1
Azylee.Utils/Azylee.YeahWeb/ExtWebAPI/BingWebAPI/WallpaperUtils/WallpaperModel.cs

@@ -6,7 +6,7 @@ using System.Text;
 
 
 namespace Azylee.YeahWeb.ExtWebAPI.BingWebAPI.WallpaperUtils
 namespace Azylee.YeahWeb.ExtWebAPI.BingWebAPI.WallpaperUtils
 {
 {
-    public class WallpaperModel
+    public class WallpaperWebModel
     {
     {
         /// <summary>
         /// <summary>
         /// 
         ///