13 lines
1.0 KiB
Python
13 lines
1.0 KiB
Python
# from rest_framework.routers import DefaultRouter
|
|
#
|
|
# from wechat_mini_服务端接口目录.小程序码与小程序链接口列表.ShortLink接口 import ShortLinkViewSets
|
|
# from wechat_mini_服务端接口目录.小程序码与小程序链接口列表.URLLink接口 import URLLinkViewSets
|
|
# from wechat_mini_服务端接口目录.小程序码与小程序链接口列表.scheme码接口 import Scheme接口ViewSets
|
|
# from wechat_mini_服务端接口目录.小程序码与小程序链接口列表.小程序码接口 import 小程序码接口ViewSets
|
|
#
|
|
# 小程序码路由Router = DefaultRouter()
|
|
# 小程序码路由Router.register(prefix="qrcode", viewset=小程序码接口ViewSets, basename="小程序码接口ViewSets")
|
|
# 小程序码路由Router.register(prefix="scheme", viewset=Scheme接口ViewSets, basename="Scheme接口ViewSets")
|
|
# 小程序码路由Router.register(prefix="link", viewset=URLLinkViewSets, basename="URLLinkViewSets")
|
|
# 小程序码路由Router.register(prefix="short", viewset=ShortLinkViewSets, basename="ShortLinkViewSets")
|