|
@@ -218,23 +218,24 @@ urlpatterns = [
|
|
|
url(r'^test_photo$', Test_Photo.as_view(), name='test_photo'),
|
|
url(r'^test_photo$', Test_Photo.as_view(), name='test_photo'),
|
|
|
|
|
|
|
|
# 配置文件夹路由:
|
|
# 配置文件夹路由:
|
|
|
- url(r'^hotel_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\hotel_photo'}), #本地
|
|
|
|
|
- url(r'^hotel_photos/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\hotel_photos'}), #本地
|
|
|
|
|
- url(r'^hvideos/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\hvideos'}), #本地
|
|
|
|
|
- url(r'^hnews_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\hnews_photo'}), #本地
|
|
|
|
|
- url(r'^hvideo_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\hvideo_photo'}), #本地
|
|
|
|
|
- url(r'^product_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\product_photo'}), #本地
|
|
|
|
|
- url(r'^garden_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\garden_photo'}), #本地
|
|
|
|
|
- url(r'^guser_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\guser_photo'}), #本地
|
|
|
|
|
|
|
+ # url(r'^hotel_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\hotel_photo'}), #本地
|
|
|
|
|
+ # url(r'^hotel_photos/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\hotel_photos'}), #本地
|
|
|
|
|
+ # url(r'^hvideos/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\hvideos'}), #本地
|
|
|
|
|
+ # url(r'^hnews_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\hnews_photo'}), #本地
|
|
|
|
|
+ # url(r'^hvideo_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\hvideo_photo'}), #本地
|
|
|
|
|
+ # url(r'^product_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\product_photo'}), #本地
|
|
|
|
|
+ # url(r'^garden_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\garden_photo'}), #本地
|
|
|
|
|
+ # url(r'^guser_photo/(?P<path>.*)', serve, {'document_root': 'G:\YFWLW\second\guser_photo'}), #本地
|
|
|
|
|
|
|
|
|
|
|
|
|
- # url(r'^hotel_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/hotel_photo'}), #本地
|
|
|
|
|
- # url(r'^hotel_photos/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/hotel_photos'}), #本地
|
|
|
|
|
- # url(r'^hvideos/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/hvideos'}), #本地
|
|
|
|
|
- # url(r'^hnews_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/hnews_photo'}), #本地
|
|
|
|
|
- # url(r'^hvideo_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/hvideo_photo'}), #本地
|
|
|
|
|
- # url(r'^product_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/product_photo'}), #本地
|
|
|
|
|
- # url(r'^garden_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/garden_photo'}), #本地
|
|
|
|
|
|
|
+ url(r'^hotel_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/hotel_photo'}), #本地
|
|
|
|
|
+ url(r'^hotel_photos/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/hotel_photos'}), #本地
|
|
|
|
|
+ url(r'^hvideos/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/hvideos'}), #本地
|
|
|
|
|
+ url(r'^hnews_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/hnews_photo'}), #本地
|
|
|
|
|
+ url(r'^hvideo_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/hvideo_photo'}), #本地
|
|
|
|
|
+ url(r'^product_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/product_photo'}), #本地
|
|
|
|
|
+ url(r'^garden_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/garden_photo'}), #本地
|
|
|
|
|
+ url(r'^guser_photo/(?P<path>.*)', serve, {'document_root': '/home/web/second/second/garden_photo'}), #本地
|
|
|
|
|
|
|
|
|
|
|
|
|
]
|
|
]
|