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.
27 lines
791 B
27 lines
791 B
using BBWY.Client.Models.APIModel;
|
|
using BBWY.Client.Models.APIModel.Request;
|
|
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 DictionaryService : BaseApiService, IDenpendency
|
|
{
|
|
public DictionaryService(RestApiService restApiService, GlobalContext globalContext) : base(restApiService, globalContext)
|
|
{
|
|
}
|
|
|
|
|
|
|
|
public ApiResponse<GetDictionaryByKeyResponse> GetDictionaryByKey(string key)
|
|
{
|
|
return SendRequest<GetDictionaryByKeyResponse>(globalContext.QKApiHost, $"api/Dictionary/GetDictionaryByKey?key={key}",
|
|
null
|
|
, null, HttpMethod.Get);
|
|
}
|
|
}
|
|
}
|
|
|