浏览代码

更新URL

zhangdongming 2 年之前
父节点
当前提交
fe6072c0b9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Ansjer/urls.py

+ 1 - 1
Ansjer/urls.py

@@ -153,7 +153,7 @@ urlpatterns = [
     re_path(r'^app/getIdData', AppInfo.AppIdDataView.as_view()),
     re_path(r'^app/getIdData', AppInfo.AppIdDataView.as_view()),
     re_path(r'^wechat/authsign', UserController.wxAuthSignView.as_view()),
     re_path(r'^wechat/authsign', UserController.wxAuthSignView.as_view()),
     re_path(r'^wechat/perfect', UserController.wxPerfectView.as_view()),
     re_path(r'^wechat/perfect', UserController.wxPerfectView.as_view()),
-    re_path('Test', Test.Test.as_view()),
+    re_path(r'^Test', Test.Test.as_view()),
     re_path(r'^oauth/authcode', UserController.OauthAuthCodeView.as_view()),
     re_path(r'^oauth/authcode', UserController.OauthAuthCodeView.as_view()),
     re_path(r'^oauth/perfect', UserController.OauthPerfectView.as_view()),
     re_path(r'^oauth/perfect', UserController.OauthPerfectView.as_view()),
     re_path(r'^oauth/unbunding', UserController.UnbundingWXView.as_view()),
     re_path(r'^oauth/unbunding', UserController.UnbundingWXView.as_view()),