package com.td.boss.game.complayerscore.service;

import com.td.boss.common.pojo.Result;
import com.td.boss.common.service.*;
import com.td.boss.game.complayerscore.pojo.ComPlayerScore;
import com.td.boss.game.complayerscore.vo.ComPlayerScoreVo;

public interface ComPlayerScoreService extends CommonService<ComPlayerScoreVo, ComPlayerScore, Integer> {

    /**
     * 积分兑换种子
     *
     * @param userId 用户ID
     * @param amount 本次兑换数量
     * @param seedId 种子id
     * @return {@link Result}<{@link String}>
     */
    Result<String> exchange(String userId, Integer amount, Integer seedId);

}
