package com.gic.haoban.manage.api.service.content;

import com.gic.api.base.commons.Page;
import com.gic.api.base.commons.ServiceResponse;
import com.gic.haoban.manage.api.dto.qdto.content.InteractRecordQDTO;
import com.gic.haoban.manage.api.enums.content.InteractRecordInfoDTO;

/**
 * @Author MUSI
 * @Date 2023/3/29 12:45 PM
 * @Description
 * @Version
 * 互动记录
 **/
public interface InteractRecordApiService {

    /**
     * 查询互动记录
     * @param interactRecordQDTO
     * @return
     */
    ServiceResponse<Page<InteractRecordInfoDTO>> queryInteractRecordList(InteractRecordQDTO interactRecordQDTO);

    /**
     * 处理member信息变化的MQ
     * routeName:  memberIdChangeNotify
     * @param params
     * @return
     */
    ServiceResponse<Void> memberChangeMQ(String params);

    /**
     * 处理会员线上订单
     * @param params
     * @return
     */
    ServiceResponse<Void> dealMemberOnlineOrder(String params);

    /**
     * 处理会员线下订单数据
     * @param params
     * @return
     */
    ServiceResponse<Void> dealMemberOffLineOrder(String params);

    /**
     * 处理会员新增事件
     * @param params
     * @return
     */
    ServiceResponse<Void> dealMemberEvent(String params);
}
