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
8b840e86
Commit
8b840e86
authored
Jul 15, 2023
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
女足世界杯修改bug
parent
94b1bee9
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
128 additions
and
10 deletions
+128
-10
VIZ.TVP.WMCUP.Module/Common/PluginConstant.cs
+1
-1
VIZ.TVP.WMCUP.Module/FDayMatch/FDayMatchViewPlugin.cs
+1
-1
VIZ.TVP.WMCUP.Module/FTeamStandings/FTeamStandingViewPlugin.cs
+1
-1
VIZ.TVP.WMCUP.Module/HeaderPage/HeaderPagePlugin.cs
+46
-0
VIZ.TVP.WMCUP.Module/HeaderPage/View/DateHeaderView.xaml
+2
-2
VIZ.TVP.WMCUP.Module/HeaderPage/View/DateHeaderView.xaml.cs
+5
-0
VIZ.TVP.WMCUP.Module/Properties/AssemblyInfo.cs
+3
-0
VIZ.TVP.WMCUP.Module/Setting/httpUrl/HttpUrlPluginLifeCycle.cs
+49
-0
VIZ.TVP.WMCUP.Module/Setting/httpUrl/View/HttpUrlConfigView.xaml.cs
+14
-1
VIZ.TVP.WMCUP.Module/ShootPlayerRank/ShootPlayerRankPluginLifeCycle.cs
+1
-1
VIZ.TVP.WMCUP.Module/Storge/AppSetup_InitLiteDB.cs
+1
-1
VIZ.TVP.WMCUP.Module/Storge/HttpUrlConfigEntity.cs
+2
-2
VIZ.TVP.WMCUP.Module/VIZ.TVP.WMCUP.Module.csproj
+2
-0
No files found.
VIZ.TVP.WMCUP.Module/Common/PluginConstant.cs
View file @
8b840e86
...
...
@@ -8,7 +8,7 @@ namespace VIZ.TVP.WMCUP.Module
{
public
class
PluginConstant
{
public
static
string
GroupName
{
get
;
set
;
}
=
"
足球
"
;
public
static
string
GroupName
{
get
;
set
;
}
=
"
女足世界杯
"
;
/// <summary>
...
...
VIZ.TVP.WMCUP.Module/FDayMatch/FDayMatchViewPlugin.cs
View file @
8b840e86
...
...
@@ -15,7 +15,7 @@ namespace VIZ.TVP.WMCUP.Module
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public
const
string
PLUGIN_ID
=
"FDayMatchView"
;
public
const
string
PLUGIN_ID
=
"FDayMatchView
11
"
;
/// <summary>
/// 插件显示名称
...
...
VIZ.TVP.WMCUP.Module/FTeamStandings/FTeamStandingViewPlugin.cs
View file @
8b840e86
...
...
@@ -15,7 +15,7 @@ namespace VIZ.TVP.WMCUP.Module
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public
const
string
PLUGIN_ID
=
"FTeamStandingView"
;
public
const
string
PLUGIN_ID
=
"FTeamStandingView
11
"
;
/// <summary>
/// 插件显示名称
...
...
VIZ.TVP.WMCUP.Module/HeaderPage/HeaderPagePlugin.cs
0 → 100644
View file @
8b840e86
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
VIZ.Package.Domain
;
namespace
VIZ.TVP.WMCUP.Module
{
public
class
HeaderPagePlugin
:
IPluginLifeCycle
{
/// <summary>
/// 插件ID
/// </summary>
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public
const
string
PLUGIN_ID
=
"FDateHeaderView11"
;
/// <summary>
/// 插件显示名称
/// </summary>
public
const
string
PLUGIN_NAME
=
"女足世界杯"
;
public
void
Dispose
()
{
}
public
void
Initialize
()
{
}
public
PluginInfo
Register
()
{
PluginInfo
info
=
new
PluginInfo
();
info
.
Group
=
PluginConstant
.
GroupName
;
info
.
ID
=
PLUGIN_ID
;
info
.
Name
=
PLUGIN_NAME
;
info
.
PluginType
=
PluginType
.
Module
;
info
.
ViewType
=
typeof
(
DateHeaderView
);
return
info
;
}
}
}
VIZ.TVP.WMCUP.Module/HeaderPage/View/DateHeaderView.xaml
View file @
8b840e86
...
...
@@ -27,9 +27,9 @@
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="80"/>
<ColumnDefinition Width="110"/>
<ColumnDefinition Width="120"/>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="40"/>
<ColumnDefinition Width="150"/>
<ColumnDefinition Width="280"/>
</Grid.ColumnDefinitions>
...
...
VIZ.TVP.WMCUP.Module/HeaderPage/View/DateHeaderView.xaml.cs
View file @
8b840e86
...
...
@@ -12,6 +12,7 @@ using System.Windows.Media;
using
System.Windows.Media.Imaging
;
using
System.Windows.Navigation
;
using
System.Windows.Shapes
;
using
VIZ.Framework.Core
;
namespace
VIZ.TVP.WMCUP.Module
{
...
...
@@ -23,6 +24,10 @@ namespace VIZ.TVP.WMCUP.Module
public
DateHeaderView
()
{
InitializeComponent
();
//数据的绑定
WPFHelper
.
BindingViewModel
(
this
,
new
DateHeaderViewModel
());
}
}
}
VIZ.TVP.WMCUP.Module/Properties/AssemblyInfo.cs
View file @
8b840e86
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
using
VIZ.Framework.Core
;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
...
...
@@ -34,3 +35,5 @@ using System.Runtime.InteropServices;
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ApplicationDllCheck(Key = "V1.2.0.04191103_beta")]
VIZ.TVP.WMCUP.Module/Setting/httpUrl/HttpUrlPluginLifeCycle.cs
0 → 100644
View file @
8b840e86
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
VIZ.Package.Domain
;
namespace
VIZ.TVP.WMCUP.Module
{
public
class
HttpUrlPluginLifeCycle
:
IPluginLifeCycle
{
/// <summary>
/// 插件ID
/// </summary>
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public
const
string
PLUGIN_ID
=
"FBHttpUrlConfigView11"
;
/// <summary>
/// 插件名称
/// </summary>
public
const
string
PLUGIN_NAME
=
"女足世界杯数据访问配置"
;
/// <summary>
/// 注册
/// </summary>
/// <returns>插件信息</returns>
public
PluginInfo
Register
()
{
PluginInfo
info
=
new
PluginInfo
();
info
.
ID
=
PLUGIN_ID
;
info
.
Name
=
PLUGIN_NAME
;
info
.
Group
=
PluginConstant
.
GroupName
;
info
.
PluginType
=
PluginType
.
Setting
;
info
.
ViewType
=
typeof
(
HttpUrlConfigView
);
return
info
;
}
/// <summary>
/// 销毁
/// </summary>
public
void
Dispose
()
{
}
}
}
VIZ.TVP.WMCUP.Module/Setting/httpUrl/View/HttpUrlConfigView.xaml.cs
View file @
8b840e86
...
...
@@ -12,17 +12,30 @@ using System.Windows.Media;
using
System.Windows.Media.Imaging
;
using
System.Windows.Navigation
;
using
System.Windows.Shapes
;
using
VIZ.Framework.Core
;
using
VIZ.Package.Domain
;
namespace
VIZ.TVP.WMCUP.Module
{
/// <summary>
/// HttpUrlConfigView.xaml 的交互逻辑
/// </summary>
public
partial
class
HttpUrlConfigView
:
UserControl
public
partial
class
HttpUrlConfigView
:
UserControl
,
IPluginSettingView
{
public
HttpUrlConfigView
()
{
InitializeComponent
();
WPFHelper
.
BindingViewModel
(
this
,
new
HttpUrlConfigViewModel
());
}
/// <summary>
/// 调用保存
/// </summary>
public
void
Save
()
{
HttpUrlConfigViewModel
vm
=
this
.
DataContext
as
HttpUrlConfigViewModel
;
vm
.
Save
();
}
}
}
VIZ.TVP.WMCUP.Module/ShootPlayerRank/ShootPlayerRankPluginLifeCycle.cs
View file @
8b840e86
...
...
@@ -16,7 +16,7 @@ namespace VIZ.TVP.WMCUP.Module
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public
const
string
PLUGIN_ID
=
"ShootPlayerRankView"
;
public
const
string
PLUGIN_ID
=
"ShootPlayerRankView
11
"
;
/// <summary>
/// 插件显示名称
...
...
VIZ.TVP.WMCUP.Module/Storge/AppSetup_InitLiteDB.cs
View file @
8b840e86
...
...
@@ -55,7 +55,7 @@ namespace VIZ.TVP.WMCUP.Module
System
.
IO
.
Directory
.
CreateDirectory
(
folder
);
}
string
path
=
System
.
IO
.
Path
.
Combine
(
folder
,
"FootballCache.db"
);
string
path
=
System
.
IO
.
Path
.
Combine
(
folder
,
"
Women
FootballCache.db"
);
log
.
Error
(
path
);
localDbContext
=
new
LocalDbContext
(
path
);
...
...
VIZ.TVP.WMCUP.Module/Storge/HttpUrlConfigEntity.cs
View file @
8b840e86
...
...
@@ -20,7 +20,7 @@ namespace VIZ.TVP.WMCUP.Module
/// <summary>
/// 地址
/// </summary>
public
string
Url
{
get
;
set
;
}
=
"http
://180.184.78.246
:18080/miku/api/open_api/proxy_api/miku/api/system_base/migu/football/"
;
public
string
Url
{
get
;
set
;
}
=
"http
s://192.168.208.60
:18080/miku/api/open_api/proxy_api/miku/api/system_base/migu/football/"
;
/// <summary>
/// 应用程序Id
...
...
@@ -41,7 +41,7 @@ namespace VIZ.TVP.WMCUP.Module
/// <summary>
/// 地址
/// </summary>
public
string
BUrl
{
get
;
set
;
}
=
"http
://180.184.78.246
:18080/miku/api/open_api/proxy_api/miku/api/system_base/migu/football/"
;
public
string
BUrl
{
get
;
set
;
}
=
"http
s://192.168.208.61
:18080/miku/api/open_api/proxy_api/miku/api/system_base/migu/football/"
;
/// <summary>
/// 应用程序Id
...
...
VIZ.TVP.WMCUP.Module/VIZ.TVP.WMCUP.Module.csproj
View file @
8b840e86
...
...
@@ -89,6 +89,7 @@
<Compile Include="FTeamStandings\View\FTeamStandingView.xaml.cs">
<DependentUpon>FTeamStandingView.xaml</DependentUpon>
</Compile>
<Compile Include="HeaderPage\HeaderPagePlugin.cs" />
<Compile Include="HeaderPage\ViewModel\DateHeaderViewModel.cs" />
<Compile Include="HeaderPage\View\DateHeaderView.xaml.cs">
<DependentUpon>DateHeaderView.xaml</DependentUpon>
...
...
@@ -98,6 +99,7 @@
<DependentUpon>MessageLastRecordDate.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Setting\httpUrl\HttpUrlPluginLifeCycle.cs" />
<Compile Include="Setting\httpUrl\ViewModel\HttpUrlConfigViewModel.cs" />
<Compile Include="Setting\httpUrl\View\HttpUrlConfigView.xaml.cs">
<DependentUpon>HttpUrlConfigView.xaml</DependentUpon>
...
...
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