urls.py 921 B

12345678910111213141516171819
  1. from django.urls import path
  2. from wx.views import *
  3. urlpatterns = [
  4. path("token", GetAccessToken.as_view(), name="token"),
  5. path("msg", UserMsg.as_view(), name="user_msg"),
  6. path("", UrlCheck.as_view(), name="url_check"),
  7. path("addMenu", UpdateMenu.as_view(), name="add_menu"),
  8. path("applyUserInfo", ApplyUserInfo.as_view(), name="apply_user_info"),
  9. path("login", LoginSystem.as_view(), name="login_system"),
  10. path("getSiZhu", GetSiZhu.as_view(), name="get_si_zhu"),
  11. path("getSiZhuByNongLi", GetSiZhuByNongLi.as_view(), name="get_si_zhu_by_nong_li"),
  12. path("getSiZhuByTexts", GetSiZhuByTexts.as_view(), name="get_si_zhu_by_texts"),
  13. path("calcNongLi", CalcNongLi.as_view(), name="calc_nong_li"),
  14. path("saveUser", SaveUser.as_view(), name="save_user"),
  15. path("loadUser", LoadUser.as_view(), name="load_user"),
  16. path("deleteUser", DeleteUser.as_view(), name="delete_user"),
  17. ]