接入百度统计部分数据,按天存储

This commit is contained in:
2024-01-15 11:23:59 +08:00
parent bf3f25972e
commit e2374676c3
11 changed files with 522 additions and 3 deletions

View File

@@ -795,6 +795,8 @@ Rails.application.routes.draw do
namespace :admins do
mount Sidekiq::Web => '/sidekiq'
get '/', to: 'dashboards#index'
get '/baidu_tongji', to: 'dashboards#baidu_tongji'
get '/baidu_tongji_auth', to: 'dashboards#baidu_tongji_auth'
namespace :topic do
resources :activity_forums
resources :banners

View File

@@ -11,4 +11,9 @@ delay_expired_issue:
create_daily_project_statistics:
cron: "0 1 * * *"
class: "DailyProjectStatisticsJob"
queue: cache
queue: cache
daily_platform_statistics:
cron: "0 1 * * *"
class: "DailyPlatformStatisticsJob"
queue: default