feat: add smoke share token and read-only share APIs
This commit is contained in:
+3
-1
@@ -73,6 +73,7 @@ func main() {
|
||||
&smokemodel.SmokeAIAdviceUnlock{},
|
||||
&smokemodel.SmokeAINextSmoke{},
|
||||
&smokemodel.SmokeMotivationQuote{},
|
||||
&smokemodel.SmokeShare{},
|
||||
&marketingmodel.MarketingCategory{},
|
||||
&marketingmodel.MarketingTemplate{},
|
||||
&marketingmodel.MarketingDownload{},
|
||||
@@ -103,7 +104,8 @@ func main() {
|
||||
smokeProfileService := smokeservice.NewSmokeProfileService(database.DB)
|
||||
smokeNextService := smokeservice.NewSmokeNextService(database.DB)
|
||||
smokeAINextService := smokeservice.NewSmokeAINextSmokeService(database.DB, config.AppConfig.AI)
|
||||
smokeHandler := smokehandler.NewSmokeHandler(smokeLogService, smokeAIAdviceService, smokeProfileService, smokeNextService, smokeAINextService)
|
||||
smokeShareService := smokeservice.NewSmokeShareService(database.DB)
|
||||
smokeHandler := smokehandler.NewSmokeHandler(smokeLogService, smokeAIAdviceService, smokeProfileService, smokeNextService, smokeAINextService, smokeShareService)
|
||||
|
||||
redeemCodeService := membershipservice.NewRedeemCodeService(database.DB, config.AppConfig.Admin.Token)
|
||||
redeemCodeHandler := membershiphandler.NewRedeemCodeHandler(redeemCodeService)
|
||||
|
||||
Reference in New Issue
Block a user