feat: 配置所有 apps 的 URL 路由
- User URLs(用户相关) - Region URLs(版块相关) - Article URLs(文章相关) - FeaturedService URLs(特色服务相关) - Moderation URLs(版主管理相关) - Interaction URLs(交互功能相关) - 更新主 URL 配置,整合所有 API 端点 - 添加 JWT 认证端点
This commit is contained in:
10
backend/apps/featured_services/urls.py
Normal file
10
backend/apps/featured_services/urls.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.urls import path, include
|
||||
from rest_framework.routers import DefaultRouter
|
||||
from .views import FeaturedServiceViewSet
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r'services', FeaturedServiceViewSet, basename='featured_service')
|
||||
|
||||
urlpatterns = [
|
||||
path('', include(router.urls)),
|
||||
]
|
||||
Reference in New Issue
Block a user