KKSU
2025-02-21 877b982710ab433610c8c220f7da592f1ea51e66
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);
}