15 lines
390 B
C#
15 lines
390 B
C#
|
|
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);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|