Commit b897aaf0 by wangonghui

修改bug

parent b41c642d
...@@ -12,6 +12,7 @@ using System.Windows.Media.Imaging; ...@@ -12,6 +12,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation; using System.Windows.Navigation;
using System.Windows.Shapes; using System.Windows.Shapes;
using VIZ.Framework.Core; using VIZ.Framework.Core;
using VIZ.Package.Domain;
using VIZ.Package.Module; using VIZ.Package.Module;
namespace VIZ.TVP.CBA.Module namespace VIZ.TVP.CBA.Module
...@@ -19,7 +20,7 @@ namespace VIZ.TVP.CBA.Module ...@@ -19,7 +20,7 @@ namespace VIZ.TVP.CBA.Module
/// <summary> /// <summary>
/// Interaction logic for HttpUrlConfigView.xaml /// Interaction logic for HttpUrlConfigView.xaml
/// </summary> /// </summary>
public partial class HttpUrlConfigView : UserControl public partial class HttpUrlConfigView : UserControl, IPluginSettingView
{ {
public HttpUrlConfigView() public HttpUrlConfigView()
{ {
......
...@@ -195,8 +195,18 @@ namespace VIZ.TVP.CBA.Module ...@@ -195,8 +195,18 @@ namespace VIZ.TVP.CBA.Module
public void Save() public void Save()
{ {
HttpUrlConfigEntity config = AppSetup_InitCBALiteDB.HttpUrlConfigEntity; HttpUrlConfigEntity config = AppSetup_InitCBALiteDB.HttpUrlConfigEntity;
config.Url = this.Url; config.Url = this.Url;
config.AppId = this.AppId;
config.AppKey = this.AppKey;
config.BUrl = this.BUrl;
config.BAppId = this.BAppId;
config.BAppKey = this.BAppKey;
AppSetup_InitCBALiteDB.cBALocalDbContext.HttpUrlConfig.Upsert(config);
} }
} }
......
...@@ -43,7 +43,7 @@ namespace VIZ.TVP.CBA.Module ...@@ -43,7 +43,7 @@ namespace VIZ.TVP.CBA.Module
/// <summary> /// <summary>
/// CBA数据库Context /// CBA数据库Context
/// </summary> /// </summary>
public CBALocalDbContext cBALocalDbContext { get; set; } public static CBALocalDbContext cBALocalDbContext { get; set; }
public static HttpUrlConfigEntity HttpUrlConfigEntity { get; set; } public static HttpUrlConfigEntity HttpUrlConfigEntity { get; set; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment