<filename>meiduo_mall/meiduo_mall/apps/verifications/urls.py
from django.urls import path
from . import views


app_name = "verifications"

urlpatterns = [
    path('image_codes/<str:image_code_id>/', views.ImageCodeView.as_view(), name="verify_code"),  # 获取图片验证码
    path(r'sms_codes/<mobile:mobile>/', views.SMSCodeView.as_view(), name="sms_code"),  # 获取短信验证码
    path(r'sms_codes/', views.SMSCodeByTokenView.as_view()),  # 找回密码根据access_token获取短信验证码
]