更新说明,调整demo地址;修复后台添加商品栏目错位

This commit is contained in:
2020-03-06 16:19:24 +08:00
parent acf28e8b6f
commit ef6d9100ea
4 changed files with 64 additions and 30 deletions
+5 -4
View File
@@ -950,10 +950,11 @@ namespace COMCMS.API.Weixin.Common
/// </summary>
public long ConvertDateTimeInt(System.DateTime time)
{
long intResult = 0;
System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1));
intResult = (long)(time - startTime).TotalSeconds;
return intResult;
//long intResult = 0;
//System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1));
//intResult = (long)(time - startTime).TotalSeconds;
return long.Parse(Utils.GetTimeStamp());
}
#endregion
}