KKSU
2025-03-18 664184af3e070dee665ee736caffa0297804975f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package cc.mrbird.febs.mall.service;
 
import cc.mrbird.febs.common.entity.FebsConstant;
import cc.mrbird.febs.mall.entity.MallMember;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.scheduling.annotation.Async;
 
import java.math.BigDecimal;
 
public interface AsyncService extends IService<MallMember> {
 
    @Async(FebsConstant.ASYNC_POOL)
    void directCoin(BigDecimal amount,Long memberId);
 
    @Async(FebsConstant.ASYNC_POOL)
    void releaseScore(BigDecimal amount,Long memberId);
 
    @Async(FebsConstant.ASYNC_POOL)
    void releaseNodeCoin(BigDecimal amount, BigDecimal percent, Long memberId);
}