generate 添加积分扣除
This commit is contained in:
@@ -9,8 +9,6 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
public interface CreditsService extends IService<CreditsDetail> {
|
||||
|
||||
void initCredits();
|
||||
|
||||
Boolean buyCredits(Long accountId, Float quantity);
|
||||
|
||||
void creditsIncrease(Long accountId, String event);
|
||||
@@ -29,6 +27,8 @@ public interface CreditsService extends IService<CreditsDetail> {
|
||||
|
||||
Boolean creditsPreDeduction(CreditsEventsEnum event, Integer num);
|
||||
|
||||
void addRecordToCreditsDeduction(Long accountId, String taskId, CreditsEventsEnum creditsEventsEnum);
|
||||
|
||||
void taskCreditsDeduction(Long accountId, String taskId);
|
||||
|
||||
CreditsDetail getByAccountIdAndChangeEvent(Long accountId, String changeEvent, String changedCredits);
|
||||
|
||||
Reference in New Issue
Block a user