You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
2 years ago
|
using BBWY.Client.Models;
|
||
|
using BBWY.Common.Http;
|
||
|
using BBWY.Common.Models;
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Net.Http;
|
||
|
using System.Text;
|
||
|
|
||
|
namespace BBWY.Client.APIServices.QiKu
|
||
|
{
|
||
|
public class ProcessService : BaseApiService, IDenpendency
|
||
|
{
|
||
|
public ProcessService(RestApiService restApiService, GlobalContext globalContext) : base(restApiService, globalContext)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public ApiResponse<GetProcessTypeResponse> GetProcessTypeList()
|
||
|
{
|
||
|
return SendRequest<GetProcessTypeResponse>(globalContext.QKApiHost, "api/Process/GetProcessTypeList",
|
||
|
null
|
||
|
, null, HttpMethod.Get);
|
||
|
}
|
||
|
|
||
|
|
||
|
public ApiResponse<DiscountFactoryResponse> GetDiscountFactory(string ProcessTypeName, int TaskCount)
|
||
|
{
|
||
|
return SendRequest<DiscountFactoryResponse>(globalContext.QKApiHost, "api/Process/GetDiscountFactory",
|
||
|
new
|
||
|
{
|
||
|
ProcessTypeName,
|
||
|
TaskCount
|
||
|
}
|
||
|
, null, HttpMethod.Post);
|
||
|
}
|
||
|
}
|
||
|
}
|