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.
32 lines
1015 B
32 lines
1015 B
using BBWY.Client.Models.APIModel.Response.PackTask;
|
|
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
|
|
{
|
|
public class PackDetailService : BaseApiService, IDenpendency
|
|
{
|
|
public PackDetailService(RestApiService restApiService, GlobalContext globalContext) : base(restApiService, globalContext)
|
|
{
|
|
}
|
|
|
|
public ApiResponse<PackServiceResponse> GetTaskService(long TaskId)
|
|
{
|
|
return SendRequest<PackServiceResponse>(globalContext.QKApiHost, $"api/PackDetail/GetTaskService?taskId={TaskId}",
|
|
null
|
|
, null, HttpMethod.Get);
|
|
}
|
|
|
|
public ApiResponse<object> UploadService(UploadServiceRequest consumable)
|
|
{
|
|
return SendRequest<object>(globalContext.QKApiHost, "api/PackDetail/UploadService",
|
|
consumable
|
|
, null, HttpMethod.Post);
|
|
}
|
|
|
|
}
|
|
}
|
|
|