content: package com.gpmall.user;
  
  import com.gpmall.user.dto.*;
  
  /**
   * 腾讯课堂搜索【咕泡学院】
   * 官网：www.gupaoedu.com
   * 风骚的Mic 老师
   * create-date: 2019/7/31-19:14
   * 快递邮寄地址相关服务
   */
  public interface IAddressService {
  
      /**
       * 获取地址列表，根据用户id
       * @param request
       * @return
       */
      AddressListResponse addressList(AddressListRequest request);
  
      /**
       * 获取地址详细，根据地址id
       * @param request
       * @return
       */
      AddressDetailResponse addressDetail(AddressDetailRequest request);
  
      /**
       * 添加地址
       * @param request
       * @return
       */
      AddAddressResponse createAddress(AddAddressRequest request);
  
      /**
       * 修改地址信息
       * @param request
       * @return
       */
      UpdateAddressResponse updateAddress(UpdateAddressRequest request);
  
      /**
       * 删除地址（for id）
       * @param request
       * @return
       */
      DeleteAddressResponse deleteAddress(DeleteAddressRequest request);
  }
  