mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2025-10-09 00:47:19 +08:00
Implement base star event handler
This commit is contained in:
@@ -64,6 +64,11 @@ async fn request(req: HttpRequest, body: String) -> HttpResponse {
|
||||
"/api/live/mission" => router::live::mission(req, body),
|
||||
"/api/live/ranking" => router::clear_rate::ranking(req, body),
|
||||
"/api/event" => router::event::event(req, body),
|
||||
"/api/event/star_event" => router::event::star_event(req, body),
|
||||
"/api/event_star_live/change_target_music" => router::event::change_target_music(req, body),
|
||||
"/api/event_star_live/start" => router::live::event_start(req, body),
|
||||
"/api/event_star_live/end" => router::live::event_end(req, body),
|
||||
// "/api/event_star_live/skip" => router::live::event_skip(req, body),
|
||||
"/api/live/start" => router::live::start(req, body),
|
||||
"/api/live/end" => router::live::end(req, body),
|
||||
"/api/live/skip" => router::live::skip(req, body),
|
||||
@@ -74,6 +79,7 @@ async fn request(req: HttpRequest, body: String) -> HttpResponse {
|
||||
"/api/lottery/get_tutorial" => router::lottery::tutorial(req, body),
|
||||
"/api/lottery" => router::lottery::lottery_post(req, body),
|
||||
"/api/login_bonus" => router::login::bonus(req, body),
|
||||
"/api/login_bonus/event" => router::login::bonus_event(req, body),
|
||||
"/api/notice/reward" => router::notice::reward_post(req, body),
|
||||
"/api/user/getmigrationcode" => router::user::get_migration_code(req, body),
|
||||
"/api/user/registerpassword" => router::user::register_password(req, body),
|
||||
|
Reference in New Issue
Block a user