package cn.freemud.service.thirdparty;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author liming.guo
 * @date 2018/5/11
 * @description 会员服务
 */

@FeignClient(name = "member-product-application", url = "${saas.memberproductclient.feign.url:}")
@RequestMapping(value = "/member", produces = {"application/json;charset=UTF-8"})
public interface MemberProductClient {

//    /**
//     * 根据聚道注册会员New
//     */
//    @PostMapping(value = "/product/user/registerbychannel")
//    MemberRegisterResponseDto registerByChannel(@RequestBody MemberRegisterRequestDto memberRegisterRequestDto);

//    /**
//     * 根据渠道信息查询会员信息New
//     */
//    @PostMapping(value = "/product/user/getmemberinfobychannel")
//    GetMemberInfoByChannelResponseDto getMemberInfoByChannel(@RequestBody GetMemberInfoByChannelRequestDto getMemberInfoByChannelRequestDto);

//    /**
//     * 修改unionidNew
//     */
//    @PostMapping(value = "/product/user/updateuserunionId")
//    JSONObject updateUserUnionId(@RequestBody UpdateMemUnionIdRequestDto updateMemUnionIdRequestDto);

//    /**
//     * 根据会员id获取会员信息New
//     */
//    @PostMapping(value = "/product/user/getmemberinfobyid")
//    GetMemberInfoByIdResponseDto getMemberInfoById(@RequestBody GetMemberInfoByIdRequestDto getMemberInfoByIdRequestDto);
//
//    /**
//     * 会员资料修改New
//     */
//    @PostMapping(value = "/product/user/perfectinfobyid")
//    JSONObject editMemberInfo(@RequestBody EditMemberInfoRequestDto editMemberInfoRequestDto);
//
//
//    /**
//     * 获取用户收货地址列表
//     */
//    @PostMapping(value = "/product/user/receivelist")
//    GetReceiveAddressListResponseDto getReceiveAddressList(@RequestBody GetReceiveAddressListDto getReceiveListDto);
//
//    /**
//     * 新增收货地址
//     */
//    @PostMapping(value = "/product/user/receiveadd")
//    AddReceiveAddressResponseDto addReceiveAddress(@RequestBody AddReceiveAddressDto addReceiveDto);
//
//    /**
//     * 修改收货地址
//     */
//    @PostMapping(value = "/product/user/receiveupdate")
//    UpdateReceiveAddressResponseDto updateReceiveAddress(@RequestBody UpdateReceiveAddressDto updateReceiveAddressDto);
//
//    /**
//     * 删除收货地址
//     */
//    @PostMapping(value = "/product/user/receivedelete")
//    DeleteReceiveAddressResponseDto deleteReceiveAddress(@RequestBody DeleteReceiveAddressDto deleteReceiveAddressDto);
//
//    /**
//     * 查询收货距离
//     */
//    @PostMapping(value = "/product/user/receivequerydistance")
//    QueryReceiveDistanceResponseDto queryReceiveAddressDistance(@RequestBody QueryReceiveDistanceDto dto);
//
//    /**
//     * 查询收货地址详情
//     */
//    @PostMapping(value = "/product/user/receivequerybyid")
//    QueryReceiveAddressResponseDto queryReceiveAddressById(@RequestBody QueryReceiveAddressDto queryReceiveAddressDto);

//    /**
//     * 会员优惠券列表
//     */
//    @PostMapping(value = "/product/coupon/getmembercouponlist")
//    GetMemberCouponListResponseDto getMemberCouponListRequestDto(@RequestBody GetMemberCouponListRequestDto getMemberCouponListRequestDto);
}
