|
@@ -442,9 +442,12 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
|
|
|
#region 同步数据到redis
|
|
|
|
|
|
- public string SyncAll(string Kind = "default")
|
|
|
+ public string SyncAll(string Kind = "default", string VerNo = "")
|
|
|
{
|
|
|
-
|
|
|
+ if(!string.IsNullOrEmpty(VerNo))
|
|
|
+ {
|
|
|
+ Kind += "/" + VerNo;
|
|
|
+ }
|
|
|
SystemSet set = bsdb.SystemSet.FirstOrDefault() ?? new SystemSet();
|
|
|
RedisDbconn.Instance.Set("SystemSet", set);
|
|
|
List<PageUpdateInfo> pages = bsdb.PageUpdateInfo.Where(m => m.SeoKeyword == Kind).ToList();
|