package org.springblade.gateway.active_gateway.service;

import org.springblade.gateway.common_gateway.dto.ActiveSettingDto;
import org.springblade.sing.active.entity.ActiveHelpRecord;
import org.springblade.sing.active.entity.ActiveProductRecord;
import org.springblade.sing.goods.entity.HelpGoods;
import org.springblade.sing.user.entity.LoginUser;

/**
 * @Author: Silent
 * @Description
 * @Date: Created in 9:56 2021/11/9
 * @Modified By:
 */
public interface AppActiveProductService {

	void activeHelp(ActiveHelpRecord activeHelpRecord);

	void updateProductVoteAndHeat(ActiveHelpRecord activeHelpRecord, ActiveProductRecord activeProductRecord, ActiveSettingDto activeSetting);

	void userPuFaPointUpdate(ActiveHelpRecord activeHelpRecord, ActiveSettingDto activeSetting);

	void userHelpCountCheck(ActiveHelpRecord activeHelpRecord, ActiveProductRecord activeProductRecord, LoginUser loginUser, HelpGoods helpGoods);
}
