Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.TVP.CBA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘龙飞
VIZ.TVP.CBA
Commits
b897aaf0
Commit
b897aaf0
authored
Feb 15, 2023
by
wangonghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
b41c642d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
VIZ.MIGU.CBA.Module/Setting/HttpUrl/View/HttpUrlConfigView.xaml.cs
+2
-1
VIZ.MIGU.CBA.Module/Setting/HttpUrl/ViewModel/HttpUrlConfigViewModel.cs
+11
-1
VIZ.MIGU.CBA.Module/Storge/AppSetup_InitCBALiteDB.cs
+1
-1
No files found.
VIZ.MIGU.CBA.Module/Setting/HttpUrl/View/HttpUrlConfigView.xaml.cs
View file @
b897aaf0
...
...
@@ -12,6 +12,7 @@ using System.Windows.Media.Imaging;
using
System.Windows.Navigation
;
using
System.Windows.Shapes
;
using
VIZ.Framework.Core
;
using
VIZ.Package.Domain
;
using
VIZ.Package.Module
;
namespace
VIZ.TVP.CBA.Module
...
...
@@ -19,7 +20,7 @@ namespace VIZ.TVP.CBA.Module
/// <summary>
/// Interaction logic for HttpUrlConfigView.xaml
/// </summary>
public
partial
class
HttpUrlConfigView
:
UserControl
public
partial
class
HttpUrlConfigView
:
UserControl
,
IPluginSettingView
{
public
HttpUrlConfigView
()
{
...
...
VIZ.MIGU.CBA.Module/Setting/HttpUrl/ViewModel/HttpUrlConfigViewModel.cs
View file @
b897aaf0
...
...
@@ -195,8 +195,18 @@ namespace VIZ.TVP.CBA.Module
public
void
Save
()
{
HttpUrlConfigEntity
config
=
AppSetup_InitCBALiteDB
.
HttpUrlConfigEntity
;
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
);
}
}
...
...
VIZ.MIGU.CBA.Module/Storge/AppSetup_InitCBALiteDB.cs
View file @
b897aaf0
...
...
@@ -43,7 +43,7 @@ namespace VIZ.TVP.CBA.Module
/// <summary>
/// CBA数据库Context
/// </summary>
public
CBALocalDbContext
cBALocalDbContext
{
get
;
set
;
}
public
static
CBALocalDbContext
cBALocalDbContext
{
get
;
set
;
}
public
static
HttpUrlConfigEntity
HttpUrlConfigEntity
{
get
;
set
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment