Commit 52c920ee by 陶然

优化

parent 3ba7df0f
......@@ -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>
......
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);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment