This commit is contained in:
454313500@qq.com
2021-04-18 15:16:14 +08:00
parent 7e73d35bd2
commit 87dc5b1363
6 changed files with 179 additions and 8 deletions

View File

@@ -8,6 +8,8 @@ namespace CC.Yi.Common.Cache
public class RedisCache : ICacheWriter
{
private RedisClient client;
public string redisIp { get; set; }
public RedisCache()
{
client = new RedisClient("127.0.0.1", 6379, "52013142020.");

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace CC.Yi.Common.Jwt
{
public class JwtConst
{
public const string SecurityKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDI2a2EJ7m872v0afyoSDJT2o1+SitIeJSWtLJU8/Wz2m7gStexajkeD+Lka6DSTy8gt9UwfgVQo6uKjVLG5Ex7PiGOODVqAEghBuS7JzIYU5RvI543nNDAPfnJsas96mSA7L/mD7RTE2drj6hf3oZjJpMPZUQI/B1Qjb5H3K3PNwIDAQAB";
public const string Domain = "http://localhost:5000";
}
}