53 lines
1.4 KiB
C#
53 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using ARW.Model;
|
|
using ARW.Model.Dto.Api.ShopManager.Shops;
|
|
using ARW.Model.Models.Business.ShopManager.Shops;
|
|
using ARW.Model.Vo.Api.ShopManager.Shops;
|
|
using ARW.Model.Vo.Business.GoodsManager.GoodsCategorys;
|
|
|
|
namespace ARW.Service.Api.IBusinessService.ShopManager.Shops
|
|
{
|
|
/// <summary>
|
|
/// 店铺接口类Api
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-06-12
|
|
/// </summary>
|
|
public interface IShopServiceApi : IBaseService<Shop>
|
|
{
|
|
/// <summary>
|
|
/// 获取经营类目列表(一级类目)
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<GoodsCategoryVoApi>> GetFirstGoodsCategoryList();
|
|
|
|
/// <summary>
|
|
/// 获取店铺分页列表(Api)
|
|
/// </summary>
|
|
/// <param name="parm"></param>
|
|
/// <returns></returns>
|
|
Task<PagedInfo<ShopVoApi>> GetShopListApi(ShopQueryDtoApi parm);
|
|
|
|
/// <summary>
|
|
/// 获取店铺详情(Api)
|
|
/// </summary>
|
|
/// <param name="parm"></param>
|
|
/// <returns></returns>
|
|
Task<string> GetShopDetails(ShopDtoApi parm);
|
|
|
|
|
|
/// <summary>
|
|
/// 添加或修改店铺
|
|
/// </summary>
|
|
/// <param name="parm"></param>
|
|
/// <returns></returns>
|
|
Task<string> AddOrUpdateShop(Shop parm);
|
|
|
|
|
|
}
|
|
}
|