首检添加数据看板
This commit is contained in:
@@ -7,12 +7,12 @@ using System.IO;
|
||||
namespace ZR.Common
|
||||
{
|
||||
public class AliyunOssHelper
|
||||
{
|
||||
{
|
||||
static string accessKeyId = AppSettings.GetConfig("ALIYUN_OSS:KEY");
|
||||
static string accessKeySecret = AppSettings.GetConfig("ALIYUN_OSS:SECRET");
|
||||
static string endpoint = AppSettings.GetConfig("ALIYUN_OSS:REGIONID");
|
||||
static string bucketName1 = AppSettings.GetConfig("ALIYUN_OSS:bucketName");
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 上传到阿里云
|
||||
/// </summary>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using Microsoft.Extensions.Caching.Memory;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
|
||||
namespace ZR.Common
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace ZR.Common
|
||||
public MailHelper()
|
||||
{
|
||||
AppSettings.Bind("MailOptions", mailOptions);
|
||||
FromEmail= mailOptions.FromEmail;
|
||||
FromEmail = mailOptions.FromEmail;
|
||||
}
|
||||
public MailHelper(MailOptions _mailOptions)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace ZR.Common
|
||||
@@ -30,7 +28,7 @@ namespace ZR.Common
|
||||
return infoIdss;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据日期获取星期几
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace ZR.Common
|
||||
Array.Sort(arr);
|
||||
//使用URL键值对的格式拼接成字符串
|
||||
var temp = string.Join("&", arr);
|
||||
|
||||
|
||||
var sha1Arr = SHA1.HashData(Encoding.UTF8.GetBytes(temp));
|
||||
|
||||
return BitConverter.ToString(sha1Arr).Replace("-", "").ToLower();
|
||||
|
||||
Reference in New Issue
Block a user