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.
28 lines
913 B
28 lines
913 B
using QYMessageCenter.Client.Models;
|
|
using QYMessageCenter.Common.Http;
|
|
using QYMessageCenter.Common.Models;
|
|
using System.Net.Http;
|
|
|
|
namespace QYMessageCenter.Client.APIServices
|
|
{
|
|
public class ShopService : BaseApiService
|
|
{
|
|
private string bbwyhost = "http://bbwytest.qiyue666.com";
|
|
|
|
public ShopService(RestApiService restApiService, GlobalContext globalContext) : base(restApiService, globalContext) { }
|
|
|
|
|
|
/// <summary>
|
|
/// 获取部门及下属店铺
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ApiResponse<IList<DepartmentResponse>> GetDepartmentList()
|
|
{
|
|
return SendRequest<IList<DepartmentResponse>>(bbwyhost, "api/vender/GetDeparmentList", null,
|
|
new Dictionary<string, string>()
|
|
{
|
|
{ "bbwyTempKey", "21jfhayu27q" }
|
|
}, HttpMethod.Get);
|
|
}
|
|
}
|
|
}
|
|
|