package com.ruoyi.web.modules.account.service;

import java.util.Map;
import com.ruoyi.web.modules.account.dto.MemberChangePasswordDTO;
import com.ruoyi.web.modules.account.dto.MemberLoginDTO;
import com.ruoyi.web.modules.account.dto.MemberProfileUpdateDTO;
import com.ruoyi.web.modules.account.dto.MemberRegisterDTO;
import com.ruoyi.web.modules.account.vo.MemberProfileAppVO;

/**
 * C 端会员 Service
 */
public interface IMemberAppService
{
    void sendSms(String mobile);

    Long register(MemberRegisterDTO dto);

    Map<String, Object> login(MemberLoginDTO dto);

    MemberProfileAppVO getProfile(Long memberId);

    void updateProfile(Long memberId, MemberProfileUpdateDTO dto);

    void changePassword(Long memberId, MemberChangePasswordDTO dto);

    void bindWxOpenid(Long memberId, String code);
}
