urls.py 622 B

1234567891011121314151617
  1. # -*- coding: utf-8 -*-
  2. # !/usr/bin/env python
  3. """
  4. 久恒接口对接
  5. """
  6. from django.conf.urls import patterns, url
  7. from .views import *
  8. urlpatterns = patterns('',
  9. url(r'^getPortStatusFromJh$', getPortStatusFromJh, name = 'getPortStatusFromJh'),
  10. url(r'^startDeviceForJh$', startDeviceForJh, name = 'startDeviceForJh'),
  11. url(r'^getPortInfoFromJh$', getPortInfoFromJh, name = 'getPortInfoFromJh'),
  12. url(r'^stopChargingPortForJh$', stopChargingPortForJh, name = 'stopChargingPortForJh'),
  13. )