加入积分系统,将充值与积分关联
This commit is contained in:
30
src/main/java/com/ai/da/common/enums/CreditsEventsEnum.java
Normal file
30
src/main/java/com/ai/da/common/enums/CreditsEventsEnum.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package com.ai.da.common.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum CreditsEventsEnum {
|
||||
|
||||
PRICE("price","2"),
|
||||
|
||||
INIT("init", "1000"),
|
||||
|
||||
DAILY_CHECKIN("Daily Check-In", "50"),
|
||||
|
||||
SOCIAL_MEDIA_SHARING("Social Media Sharing","50"),
|
||||
|
||||
BUY_CREDITS("Buy Credits","2000"),
|
||||
|
||||
SUPER_RESOLUTION("Super Resolution","300"),
|
||||
|
||||
OTHER("Other","10");
|
||||
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 对应事件需要消耗or获得的积分
|
||||
*/
|
||||
private String value;
|
||||
}
|
||||
Reference in New Issue
Block a user