2020-12-28 14:55:48 +08:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Hncore.Infrastructure.Common;
|
|
|
|
|
using Hncore.Infrastructure.Data;
|
|
|
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
|
|
|
|
|
|
namespace Hncore.Infrastructure.OpenApi
|
|
|
|
|
{
|
|
|
|
|
public static class OpenApiSignUtil
|
|
|
|
|
{
|
|
|
|
|
public static string CreateSign(long timestamp, string key)
|
|
|
|
|
{
|
|
|
|
|
return SecurityHelper.GetMd5Hash(timestamp.ToString() + key);
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-07 20:25:03 +08:00
|
|
|
}
|