|
|
@ -11,6 +11,7 @@ import app.entities.VipGiveMethod; |
|
|
|
import app.entities.VipPrice; |
|
|
|
import app.services.db.VIPService; |
|
|
|
import app.utils.SteamIDConverter; |
|
|
|
import jakarta.annotation.PostConstruct; |
|
|
|
import jakarta.servlet.http.HttpServletRequest; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.http.HttpStatus; |
|
|
@ -39,9 +40,9 @@ public class ExternalVIPController { |
|
|
|
this.vipService = vipService; |
|
|
|
this.unique_set = new HashSet<>(); |
|
|
|
this.fileController = fileController; |
|
|
|
setupPrices(); |
|
|
|
} |
|
|
|
|
|
|
|
@PostConstruct |
|
|
|
public void setupPrices() { |
|
|
|
prices = new ArrayList<>(); |
|
|
|
prices.add(new VipPrice("1 Месяц", 200, "1 ключ", fileController.getUrl("vip,VIP_1_MOUNTH"), "month", true, true, true, 10)); |
|
|
|