@ -40,16 +40,16 @@ 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 ключ" , "api/file/6243cb6b-2117-4deb-b1d5-ea266a16bf05" , "month" , true , true , true , 10 ) ) ;
prices . add ( new VipPrice ( "1 Неделя" , 100 , "40 рефов" , "api/file/d0ff82ca-a944-4cdb-b0bc-a0e96ed49de9" , "week" , true , true , true , 10 ) ) ;
prices . add ( new VipPrice ( "1 День" , 35 , "10 рефов" , "api/file/b8636ebf-c4eb-4355-b2ba-d8d3647d2896" , "day" , true , true , true , 10 ) ) ;
prices . add ( new VipPrice ( "1 День" , 0 , "бесплатно" , "api/file/794b9bd5-0f43-451f-a566-1ede210e3e10" , "free" , true , true , true , 10 ) ) ;
prices . add ( new VipPrice ( "Промокод" , 0 , "бесплатно" , "api/file/5dfcdc65-750d-4e35-968d-78d50574d761" , "promocode" , true , true , true , 10 ) ) ;
prices . add ( new VipPrice ( "1 Месяц" , 200 , "1 ключ" , fileController . getUrl ( "vip,VIP_1_MOUNTH" ) , "month" , true , true , true , 10 ) ) ;
prices . add ( new VipPrice ( "1 Неделя" , 100 , "40 рефов" , fileController . getUrl ( "vip,VIP_7_DAYS" ) , "week" , true , true , true , 10 ) ) ;
prices . add ( new VipPrice ( "1 День" , 35 , "10 рефов" , fileController . getUrl ( "vip,VIP_1_DAY" ) , "day" , true , true , true , 10 ) ) ;
prices . add ( new VipPrice ( "1 День" , 0 , "бесплатно" , fileController . getUrl ( "vip,freevip" ) , "free" , true , true , true , 10 ) ) ;
prices . add ( new VipPrice ( "Промокод" , 0 , "бесплатно" , fileController . getUrl ( "vip,promocode" ) , "promocode" , true , true , true , 10 ) ) ;
}
@PostMapping