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
52c920ee
Commit
52c920ee
authored
Oct 22, 2024
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
3ba7df0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
Kivii.Third.Chinaerdos.V4.5.csproj
Src/Kivii.Third.Chinaerdos.V4.5.csproj
+1
-0
RestfulErdos.cs
Src/RestfulErdos.cs
+22
-0
No files found.
Src/Kivii.Third.Chinaerdos.V4.5.csproj
View file @
52c920ee
...
...
@@ -58,6 +58,7 @@
<Compile
Include=
"Jobs\OrderJob.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
<Compile
Include=
"Requests\OrderRequest.cs"
/>
<Compile
Include=
"RestfulErdos.cs"
/>
</ItemGroup>
<ItemGroup
/>
<ItemGroup>
...
...
Src/RestfulErdos.cs
0 → 100644
View file @
52c920ee
using
Kivii.Third.Chinaerdos.Entities
;
using
Kivii.Third.Chinaerdos.Extensions
;
using
Kivii.Web
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
Kivii.Third.Chinaerdos
{
public
class
ErdosRegect
:
RestfulExecution
<
ErdosOrder
>
{
public
string
SerialNumber
{
get
;
set
;
}
public
override
object
OnExecution
(
IRequest
req
,
IResponse
res
)
{
var
client
=
new
JsonHttpClient
(
Configs
.
_defaultUrl
);
client
.
RejectOrder
(
Configs
.
_token
,
Configs
.
_secret
,
SerialNumber
);
return
base
.
OnExecution
(
req
,
res
);
}
}
}
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