Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Third.Chinaerdos.V4.5
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陶然
Kivii.Third.Chinaerdos.V4.5
Commits
3ba7df0f
Commit
3ba7df0f
authored
Oct 21, 2024
by
Neo Turing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
8cbc6a8a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
13 deletions
+28
-13
ErdosBase.cs
Src/Entities/ErdosBase.cs
+7
-2
OrderJob.cs
Src/Jobs/OrderJob.cs
+9
-0
Kivii.Third.Chinaerdos.V4.5.csproj
Src/Kivii.Third.Chinaerdos.V4.5.csproj
+6
-6
AssemblyInfo.cs
Src/Properties/AssemblyInfo.cs
+2
-2
packages.config
Src/packages.config
+4
-3
No files found.
Src/Entities/ErdosBase.cs
View file @
3ba7df0f
...
...
@@ -49,10 +49,15 @@ namespace Kivii.Third.Chinaerdos.Entities
if
(
response
.
data
.
results
.
IsNullOrEmpty
())
return
rtns
;
var
results
=
response
.
data
.
results
.
AcceptThirdContractOrder
(
Guid
.
Parse
(
Configs
.
_ownerKvid
),
Configs
.
_ownerName
,
conn
);
foreach
(
var
item
in
results
)
try
{
client
.
AcceptOrderConfirm
(
Configs
.
_token
,
Configs
.
_secret
,
item
.
SerialNumber
);
foreach
(
var
item
in
results
)
{
client
.
AcceptOrderConfirm
(
Configs
.
_token
,
Configs
.
_secret
,
item
.
SerialNumber
);
}
}
catch
{
}
rtns
.
Results
.
AddRange
(
results
);
rtns
.
Total
=
rtns
.
Results
.
Count
;
...
...
Src/Jobs/OrderJob.cs
View file @
3ba7df0f
...
...
@@ -70,6 +70,15 @@ namespace Kivii.Third.Chinaerdos.Jobs
var
results
=
response
.
data
.
results
.
AcceptThirdContractOrder
(
ownerKvid
,
ownerName
,
conn
);
TaskContext
.
Message
=
$"新增
{
results
.
Count
}
条!"
;
try
{
foreach
(
var
item
in
results
)
{
client
.
AcceptOrderConfirm
(
token
,
secret
,
item
.
SerialNumber
);
}
}
catch
{
}
return
true
;
}
catch
(
Exception
ex
)
...
...
Src/Kivii.Third.Chinaerdos.V4.5.csproj
View file @
3ba7df0f
...
...
@@ -31,14 +31,14 @@
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"Kivii.Common.V4.5, Version=5.6.2024.
7
000, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\
packages\Kivii.Common.5.6.2024.7
000\lib\net45\Kivii.Common.V4.5.dll
</HintPath>
<Reference
Include=
"Kivii.Common.V4.5, Version=5.6.2024.
10
000, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\
..\packages\Kivii.Common.5.6.2024.10
000\lib\net45\Kivii.Common.V4.5.dll
</HintPath>
</Reference>
<Reference
Include=
"Kivii.Core.V4.5, Version=5.6.2024.
7
000, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\
packages\Kivii.Core.5.6.2024.7
000\lib\net45\Kivii.Core.V4.5.dll
</HintPath>
<Reference
Include=
"Kivii.Core.V4.5, Version=5.6.2024.
10
000, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\
..\packages\Kivii.Core.5.6.2024.10
000\lib\net45\Kivii.Core.V4.5.dll
</HintPath>
</Reference>
<Reference
Include=
"Kivii.Linq.V4.5, Version=5.6.2024.
7
000, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\
packages\Kivii.Linq.5.6.2024.7
000\lib\net45\Kivii.Linq.V4.5.dll
</HintPath>
<Reference
Include=
"Kivii.Linq.V4.5, Version=5.6.2024.
10
000, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\
..\packages\Kivii.Linq.5.6.2024.10
000\lib\net45\Kivii.Linq.V4.5.dll
</HintPath>
</Reference>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
...
...
Src/Properties/AssemblyInfo.cs
View file @
3ba7df0f
...
...
@@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.2024.
802
0")]
[assembly: AssemblyFileVersion("5.4.2024.
802
0")]
[assembly: AssemblyVersion("5.4.2024.
1021
0")]
[assembly: AssemblyFileVersion("5.4.2024.
1021
0")]
Src/packages.config
View file @
3ba7df0f
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"Kivii.Common"
version
=
"5.6.2024.
7
000"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Core"
version
=
"5.6.2024.
7
000"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Linq"
version
=
"5.6.2024.
7
000"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Common"
version
=
"5.6.2024.
10
000"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Core"
version
=
"5.6.2024.
10
000"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Linq"
version
=
"5.6.2024.
10
000"
targetFramework
=
"net45"
/>
</
packages
>
\ No newline at end of file
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