加入积分系统,将充值与积分关联

This commit is contained in:
2024-03-06 20:56:22 +08:00
parent ee96759832
commit e84d800ba0
16 changed files with 234 additions and 34 deletions

View File

@@ -0,0 +1,16 @@
package com.ai.da.service;
public interface CreditsService {
void initCredits();
Boolean buyCredits(Long accountId, Integer quantity);
void creditsIncrease(Long accountId, String event);
void creditsDecrease(Long accountId, String event);
String getCredits();
void creditsRefund(Long accountId, Integer quantity);
}