Procházet zdrojové kódy

zhao:

tags/录制修改前
耀 před 3 roky
rodič
revize
e5fba9dd47

+ 63
- 0
.gitattributes Zobrazit soubor

@@ -0,0 +1,63 @@
1
+###############################################################################
2
+# Set default behavior to automatically normalize line endings.
3
+###############################################################################
4
+* text=auto
5
+
6
+###############################################################################
7
+# Set default behavior for command prompt diff.
8
+#
9
+# This is need for earlier builds of msysgit that does not have it on by
10
+# default for csharp files.
11
+# Note: This is only used by command line
12
+###############################################################################
13
+#*.cs     diff=csharp
14
+
15
+###############################################################################
16
+# Set the merge driver for project and solution files
17
+#
18
+# Merging from the command prompt will add diff markers to the files if there
19
+# are conflicts (Merging from VS is not affected by the settings below, in VS
20
+# the diff markers are never inserted). Diff markers may cause the following 
21
+# file extensions to fail to load in VS. An alternative would be to treat
22
+# these files as binary and thus will always conflict and require user
23
+# intervention with every merge. To do so, just uncomment the entries below
24
+###############################################################################
25
+#*.sln       merge=binary
26
+#*.csproj    merge=binary
27
+#*.vbproj    merge=binary
28
+#*.vcxproj   merge=binary
29
+#*.vcproj    merge=binary
30
+#*.dbproj    merge=binary
31
+#*.fsproj    merge=binary
32
+#*.lsproj    merge=binary
33
+#*.wixproj   merge=binary
34
+#*.modelproj merge=binary
35
+#*.sqlproj   merge=binary
36
+#*.wwaproj   merge=binary
37
+
38
+###############################################################################
39
+# behavior for image files
40
+#
41
+# image files are treated as binary by default.
42
+###############################################################################
43
+#*.jpg   binary
44
+#*.png   binary
45
+#*.gif   binary
46
+
47
+###############################################################################
48
+# diff behavior for common document formats
49
+# 
50
+# Convert binary document formats to text before diffing them. This feature
51
+# is only available from the command line. Turn it on by uncommenting the 
52
+# entries below.
53
+###############################################################################
54
+#*.doc   diff=astextplain
55
+#*.DOC   diff=astextplain
56
+#*.docx  diff=astextplain
57
+#*.DOCX  diff=astextplain
58
+#*.dot   diff=astextplain
59
+#*.DOT   diff=astextplain
60
+#*.pdf   diff=astextplain
61
+#*.PDF   diff=astextplain
62
+#*.rtf   diff=astextplain
63
+#*.RTF   diff=astextplain

+ 336
- 0
.gitignore Zobrazit soubor

@@ -0,0 +1,336 @@
1
+## Ignore Visual Studio temporary files, build results, and
2
+## files generated by popular Visual Studio add-ons.
3
+##
4
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5
+
6
+# User-specific files
7
+*.rsuser
8
+*.suo
9
+*.user
10
+*.userosscache
11
+*.sln.docstates
12
+
13
+# User-specific files (MonoDevelop/Xamarin Studio)
14
+*.userprefs
15
+
16
+# Build results
17
+[Dd]ebug/
18
+[Dd]ebugPublic/
19
+[Rr]elease/
20
+[Rr]eleases/
21
+x64/
22
+x86/
23
+[Aa][Rr][Mm]/
24
+[Aa][Rr][Mm]64/
25
+bld/
26
+[Bb]in/
27
+[Oo]bj/
28
+[Ll]og/
29
+
30
+# Uncomment if you have tasks that create the project's static files in wwwroot
31
+#wwwroot/
32
+
33
+# Visual Studio 2017 auto generated files
34
+Generated\ Files/
35
+
36
+# MSTest test Results
37
+[Tt]est[Rr]esult*/
38
+[Bb]uild[Ll]og.*
39
+
40
+# NUNIT
41
+*.VisualState.xml
42
+TestResult.xml
43
+
44
+# Build Results of an ATL Project
45
+[Dd]ebugPS/
46
+[Rr]eleasePS/
47
+dlldata.c
48
+
49
+# Benchmark Results
50
+BenchmarkDotNet.Artifacts/
51
+
52
+# .NET Core
53
+project.lock.json
54
+project.fragment.lock.json
55
+artifacts/
56
+
57
+# StyleCop
58
+StyleCopReport.xml
59
+
60
+# Files built by Visual Studio
61
+*_i.c
62
+*_p.c
63
+*_h.h
64
+*.ilk
65
+*.meta
66
+*.obj
67
+*.iobj
68
+*.pch
69
+*.pdb
70
+*.ipdb
71
+*.pgc
72
+*.pgd
73
+*.rsp
74
+*.sbr
75
+*.tlb
76
+*.tli
77
+*.tlh
78
+*.tmp
79
+*.tmp_proj
80
+*_wpftmp.csproj
81
+*.log
82
+*.vspscc
83
+*.vssscc
84
+.builds
85
+*.pidb
86
+*.svclog
87
+*.scc
88
+
89
+# Chutzpah Test files
90
+_Chutzpah*
91
+
92
+# Visual C++ cache files
93
+ipch/
94
+*.aps
95
+*.ncb
96
+*.opendb
97
+*.opensdf
98
+*.sdf
99
+*.cachefile
100
+*.VC.db
101
+*.VC.VC.opendb
102
+
103
+# Visual Studio profiler
104
+*.psess
105
+*.vsp
106
+*.vspx
107
+*.sap
108
+
109
+# Visual Studio Trace Files
110
+*.e2e
111
+
112
+# TFS 2012 Local Workspace
113
+$tf/
114
+
115
+# Guidance Automation Toolkit
116
+*.gpState
117
+
118
+# ReSharper is a .NET coding add-in
119
+_ReSharper*/
120
+*.[Rr]e[Ss]harper
121
+*.DotSettings.user
122
+
123
+# JustCode is a .NET coding add-in
124
+.JustCode
125
+
126
+# TeamCity is a build add-in
127
+_TeamCity*
128
+
129
+# DotCover is a Code Coverage Tool
130
+*.dotCover
131
+
132
+# AxoCover is a Code Coverage Tool
133
+.axoCover/*
134
+!.axoCover/settings.json
135
+
136
+# Visual Studio code coverage results
137
+*.coverage
138
+*.coveragexml
139
+
140
+# NCrunch
141
+_NCrunch_*
142
+.*crunch*.local.xml
143
+nCrunchTemp_*
144
+
145
+# MightyMoose
146
+*.mm.*
147
+AutoTest.Net/
148
+
149
+# Web workbench (sass)
150
+.sass-cache/
151
+
152
+# Installshield output folder
153
+[Ee]xpress/
154
+
155
+# DocProject is a documentation generator add-in
156
+DocProject/buildhelp/
157
+DocProject/Help/*.HxT
158
+DocProject/Help/*.HxC
159
+DocProject/Help/*.hhc
160
+DocProject/Help/*.hhk
161
+DocProject/Help/*.hhp
162
+DocProject/Help/Html2
163
+DocProject/Help/html
164
+
165
+# Click-Once directory
166
+publish/
167
+
168
+# Publish Web Output
169
+*.[Pp]ublish.xml
170
+*.azurePubxml
171
+# Note: Comment the next line if you want to checkin your web deploy settings,
172
+# but database connection strings (with potential passwords) will be unencrypted
173
+*.pubxml
174
+*.publishproj
175
+
176
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
177
+# checkin your Azure Web App publish settings, but sensitive information contained
178
+# in these scripts will be unencrypted
179
+PublishScripts/
180
+
181
+# NuGet Packages
182
+*.nupkg
183
+# The packages folder can be ignored because of Package Restore
184
+**/[Pp]ackages/*
185
+# except build/, which is used as an MSBuild target.
186
+!**/[Pp]ackages/build/
187
+# Uncomment if necessary however generally it will be regenerated when needed
188
+#!**/[Pp]ackages/repositories.config
189
+# NuGet v3's project.json files produces more ignorable files
190
+*.nuget.props
191
+*.nuget.targets
192
+
193
+# Microsoft Azure Build Output
194
+csx/
195
+*.build.csdef
196
+
197
+# Microsoft Azure Emulator
198
+ecf/
199
+rcf/
200
+
201
+# Windows Store app package directories and files
202
+AppPackages/
203
+BundleArtifacts/
204
+Package.StoreAssociation.xml
205
+_pkginfo.txt
206
+*.appx
207
+
208
+# Visual Studio cache files
209
+# files ending in .cache can be ignored
210
+*.[Cc]ache
211
+# but keep track of directories ending in .cache
212
+!?*.[Cc]ache/
213
+
214
+# Others
215
+ClientBin/
216
+~$*
217
+*~
218
+*.dbmdl
219
+*.dbproj.schemaview
220
+*.jfm
221
+*.pfx
222
+*.publishsettings
223
+orleans.codegen.cs
224
+
225
+# Including strong name files can present a security risk
226
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
227
+#*.snk
228
+
229
+# Since there are multiple workflows, uncomment next line to ignore bower_components
230
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
231
+#bower_components/
232
+
233
+# RIA/Silverlight projects
234
+Generated_Code/
235
+
236
+# Backup & report files from converting an old project file
237
+# to a newer Visual Studio version. Backup files are not needed,
238
+# because we have git ;-)
239
+_UpgradeReport_Files/
240
+Backup*/
241
+UpgradeLog*.XML
242
+UpgradeLog*.htm
243
+ServiceFabricBackup/
244
+*.rptproj.bak
245
+
246
+# SQL Server files
247
+*.mdf
248
+*.ldf
249
+*.ndf
250
+
251
+# Business Intelligence projects
252
+*.rdl.data
253
+*.bim.layout
254
+*.bim_*.settings
255
+*.rptproj.rsuser
256
+*- Backup*.rdl
257
+
258
+# Microsoft Fakes
259
+FakesAssemblies/
260
+
261
+# GhostDoc plugin setting file
262
+*.GhostDoc.xml
263
+
264
+# Node.js Tools for Visual Studio
265
+.ntvs_analysis.dat
266
+node_modules/
267
+
268
+# Visual Studio 6 build log
269
+*.plg
270
+
271
+# Visual Studio 6 workspace options file
272
+*.opt
273
+
274
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
275
+*.vbw
276
+
277
+# Visual Studio LightSwitch build output
278
+**/*.HTMLClient/GeneratedArtifacts
279
+**/*.DesktopClient/GeneratedArtifacts
280
+**/*.DesktopClient/ModelManifest.xml
281
+**/*.Server/GeneratedArtifacts
282
+**/*.Server/ModelManifest.xml
283
+_Pvt_Extensions
284
+
285
+# Paket dependency manager
286
+.paket/paket.exe
287
+paket-files/
288
+
289
+# FAKE - F# Make
290
+.fake/
291
+
292
+# JetBrains Rider
293
+.idea/
294
+*.sln.iml
295
+
296
+# CodeRush personal settings
297
+.cr/personal
298
+
299
+# Python Tools for Visual Studio (PTVS)
300
+__pycache__/
301
+*.pyc
302
+
303
+# Cake - Uncomment if you are using it
304
+# tools/**
305
+# !tools/packages.config
306
+
307
+# Tabs Studio
308
+*.tss
309
+
310
+# Telerik's JustMock configuration file
311
+*.jmconfig
312
+
313
+# BizTalk build output
314
+*.btp.cs
315
+*.btm.cs
316
+*.odx.cs
317
+*.xsd.cs
318
+
319
+# OpenCover UI analysis results
320
+OpenCover/
321
+
322
+# Azure Stream Analytics local run output
323
+ASALocalRun/
324
+
325
+# MSBuild Binary and Structured Log
326
+*.binlog
327
+
328
+# NVidia Nsight GPU debugger configuration file
329
+*.nvuser
330
+
331
+# MFractors (Xamarin productivity tool) working folder
332
+.mfractor/
333
+
334
+# Local History for Visual Studio
335
+.localhistory/
336
+

+ 3
- 3
Common/system/FFMpeg.cs Zobrazit soubor

@@ -259,7 +259,7 @@ namespace Common.system
259 259
                 if (!IsRecordSpeaker)
260 260
                 {
261 261
                     ErrMessage = "无法录制声音,请关闭杀毒软件,确保扬声器处于可用状态!";
262
-                    return false;
262
+                    //return false;
263 263
                 }
264 264
             }
265 265
             if (RecordingMicrophone)
@@ -274,10 +274,10 @@ namespace Common.system
274 274
                     IsRecordMicrophone = false;
275 275
                 }
276 276
                 StopRecordAudio(1);
277
-                if (IsRecordMicrophone)
277
+                if (!IsRecordMicrophone)
278 278
                 {
279 279
                     ErrMessage = "无法录制麦克风,请关闭杀毒软件,确保麦克风处于可用状态!";
280
-                    return false;
280
+                    //return false;
281 281
 
282 282
                 }
283 283
             }

+ 2
- 2
XHWK.WKTool/App.config Zobrazit soubor

@@ -9,8 +9,8 @@
9 9
 		<!--参数是否加密 0不加密 1加密-->
10 10
 		<add key="IsParameterEncryption" value="0" />
11 11
 		<!--版本号-->
12
-		<add key="VersionCode" value="77" />
13
-		<add key="VersionName" value="2.5.27" />
12
+		<add key="VersionCode" value="79" />
13
+		<add key="VersionName" value="2.5.29" />
14 14
 		<!--皮肤样式 0白 1蓝 2黑色 -->
15 15
 		<add key="SkinStyle" value="0" />
16 16
 		<!--是否输出视频记录日志:0否-->

+ 2
- 2
XHWK.WKTool/App.cs Zobrazit soubor

@@ -650,8 +650,8 @@ namespace XHWK.WKTool
650 650
             try
651 651
             {
652 652
                 apiUrl = IsOutsideSchool ? ServiceAddress.wapi : ServiceAddress.napi;
653
-                uploadUrl = (IsOutsideSchool ? ServiceAddress.wfile : ServiceAddress.nfile) + "/static/";
654
-                showImageUrl = IsOutsideSchool ? ServiceAddress.wdown : ServiceAddress.ndown;
653
+                uploadUrl = (IsOutsideSchool ? ServiceAddress.wfile : ServiceAddress.nfile) + "/";
654
+                showImageUrl = (IsOutsideSchool ? ServiceAddress.wdown : ServiceAddress.ndown) + "/static/";
655 655
             }
656 656
             catch (Exception ex)
657 657
             {

+ 2
- 2
XHWK.WKTool/LoginWindow.xaml Zobrazit soubor

@@ -77,7 +77,7 @@
77 77
             <Grid>
78 78
                 <Image Source="/SkinImages/ImgCarousel/CM_RightDown.png" HorizontalAlignment="Right" VerticalAlignment="Top" Width="80" />
79 79
                 <!--创建内页 375-->
80
-                <Grid x:Name="GridLoginPage" Margin="20,0" Visibility="Collapsed">
80
+                <Grid x:Name="GridLoginPage" Margin="20,0" Visibility="Visible">
81 81
                     <Grid.RowDefinitions>
82 82
                         <RowDefinition Height="100*"/>
83 83
                         <RowDefinition Height="70*"/>
@@ -181,7 +181,7 @@
181 181
                         </Button>
182 182
                     </Grid>
183 183
                 </Grid>
184
-                <Grid x:Name="GridServiceAddress" Margin="20,0" Visibility="Visible">
184
+                <Grid x:Name="GridServiceAddress" Margin="20,0" Visibility="Collapsed">
185 185
                     <Grid.RowDefinitions>
186 186
                         <RowDefinition Height="100*"/>
187 187
                         <RowDefinition Height="80*"/>

+ 2
- 2
XHWK.WKTool/Properties/AssemblyInfo.cs Zobrazit soubor

@@ -49,5 +49,5 @@ using System.Windows;
49 49
 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
50 50
 //通过使用 "*",如下所示:
51 51
 // [assembly: AssemblyVersion("1.0.*")]
52
-[assembly: AssemblyVersion("2.5.27.0")]
53
-[assembly: AssemblyFileVersion("2.5.27.0")]
52
+[assembly: AssemblyVersion("2.5.29.0")]
53
+[assembly: AssemblyFileVersion("2.5.29.0")]

Načítá se…
Zrušit
Uložit