algorithm_shop_url.py 679 B

12345678910111213141516171819
  1. # -*- encoding: utf-8 -*-
  2. """
  3. @File : algorithm_shop_url.py
  4. @Time : 2022/8/26 14:38
  5. @Author : stephen
  6. @Email : zhangdongming@asj6.wecom.work
  7. @Software: PyCharm
  8. """
  9. from django.urls import re_path
  10. from Controller.AlgorithmShop import AlgorithmShopController
  11. from Controller.CloudPhoto import CloudPhotoController
  12. from Controller.Cron import CronCloudPhotoController
  13. urlpatterns = [
  14. re_path(r'^api/(?P<operation>.*)$', AlgorithmShopController.AlgorithmShopView.as_view()),
  15. re_path(r'^cron/(?P<operation>.*)$', CronCloudPhotoController.CronCloudPhotoView.as_view()),
  16. re_path(r'^photo/(?P<operation>.*)$', CloudPhotoController.CronCloudPhotoView.as_view()),
  17. ]