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.
|
|
|
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,long? ProcessComboId=null)
|
|
|
|
{
|
|
|
|
return SendRequest<DiscountFactoryResponse>(globalContext.QKApiHost, "api/Process/GetDiscountFactory",
|
|
|
|
new
|
|
|
|
{
|
|
|
|
ProcessTypeName,
|
|
|
|
TaskCount,
|
|
|
|
ProcessComboId
|
|
|
|
}
|
|
|
|
, null, HttpMethod.Post);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|