Explorar o código

添加paypal路由

lang %!s(int64=3) %!d(string=hai) anos
pai
achega
b4b756968a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Ansjer/urls.py

+ 2 - 0
Ansjer/urls.py

@@ -234,6 +234,8 @@ urlpatterns = [
     url(r'^user/ex/(?P<operation>.*)$', UserExController.UserExView.as_view()),
 	url(r'^v3/equipment/(?P<operation>.*)$', EquipmentManagerV3.EquipmentManagerV3.as_view()),
 	url(r'^cloudstorage/(?P<operation>.*)$', CloudStorage.CloudStorageView.as_view()),
+    url(r'^payCycle/(?P<operation>.*)$', PaymentCycle.PaypalCycleNotify.as_view()), #周期扣款
+	url(r'^paypalCycleNotify/(?P<operation>.*)$', PaymentCycle.PaypalCycleNotify.as_view()), #paypal周期扣款订阅通知
 
     #新增解密的接口
     url(r'^v3/account/changePwd$', UserController.v3ChangePwdView.as_view()),