| | |
| | | using System; |
| | | using System.IO; |
| | | using System.Collections.Generic; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using Shared; |
| | | //using HDL_ON.UI; |
| | | using HDL_ON.DAL.Net; |
| | | using HDL_ON.DAL; |
| | | using HDL_ON.Entity; |
| | | |
| | | namespace HDL_ON |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <param name="fileName"></param> |
| | | /// <param name="imagePath"></param> |
| | | public static void FileCopyToRootPath(string oldPath, string fileName) |
| | | { |
| | | System.IO.FileInfo fileInfo = new System.IO.FileInfo(oldPath); |
| | | if (fileInfo.Exists) |
| | | { |
| | | fileInfo.CopyTo(Path.Combine(RootPath, fileName), true); |
| | | //Utlis.WriteLine("FileCopyToRootPath : " + Path.Combine(RootPath, fileName)); |
| | | } |
| | | } |
| | | |
| | | ///// <summary> |
| | | ///// 下载电台、音乐、DLNA等等网络图片 |
| | | ///// </summary> |