|
|
@ -1,5 +1,6 @@ |
|
|
|
using EC.Entity.Transport; |
|
|
|
using EC.Service.Base; |
|
|
|
using EC.Utils; |
|
|
|
using System; |
|
|
|
using System.IO; |
|
|
|
|
|
|
@ -39,7 +40,7 @@ namespace EC.Service.Transport |
|
|
|
public static string GetSaveImagePath(string license) |
|
|
|
{ |
|
|
|
var now = DateTime.Now; |
|
|
|
var workPath = Directory.GetCurrentDirectory(); |
|
|
|
var workPath = CommonUtil.GetWorkDirectory(); |
|
|
|
var subPath = Path.Combine(new string[] { "cap", now.ToString("yyyy"), now.ToString("MM"), now.ToString("dd") }); |
|
|
|
//var subPath = Path.Combine("cap", now.ToString("yyyy-MM-dd"));
|
|
|
|
var fileFolder = Path.Combine(workPath, subPath); |
|
|
|