#coding:utf-8 from django.conf.urls import patterns, include, url from devoops.views import checkGp, writLogs, updateVer from ymyj.views import * #@method_decorator(checkGp(['ops','ymyj'])) #@method_decorator(writLogs) #def dispatch(self, request,*args, **kwargs): # return super(UpdateView, self).dispatch(request,*args, **kwargs) urlpatterns = patterns( '', url(r'^$', checkGp(['ops', 'gamer'])(writLogs(updateVer)), { 'appname': 'gamer', 'apptitle': 'Gamer(天津怪糖)-更新', 'referesh_website': '' }), url(r'update/$', checkGp(['ops', 'gamer'])(writLogs(updateVer)), { 'appname': 'gamer', 'apptitle': 'Gamer(天津怪糖)-更新', 'referesh_website': '' }), url(r'services/$', checkGp(['ops', 'gamer'])(writLogs(updateVer)), { 'appname': 'game', 'apptitle': 'Gamer(天津怪糖)-更新', 'referesh_website': '' }))
#coding:utf-8 from django.conf.urls import patterns, include, url from devoops.views import updateVer, checkGp, writLogs urlpatterns = patterns( '', url( r'^$', checkGp(['ops', 'ddz'])(writLogs(updateVer)), { 'appname': 'ddz', 'apptitle': 'DDZ(棋乐斗地主)-更新', 'referesh_website': 'http://cdn.platform.qile.club/' }), url( r'^update/$', checkGp(['ops', 'ddz'])(writLogs(updateVer)), { 'appname': 'ddz', 'apptitle': 'DDZ(棋乐斗地主)-更新', 'referesh_website': 'http://cdn.platform.qile.club/' }), )
#coding:utf-8 from django.conf.urls import patterns, include, url from devoops.views import updateVer, checkGp, writLogs urlpatterns = patterns( '', url(r'^$', checkGp(['ops', 'tstd'])(writLogs(updateVer)), { 'appname': 'tstd', 'apptitle': 'TSTD(三国)-更新', 'referesh_website': '' }), url(r'^update/$', checkGp(['ops', 'tstd'])(writLogs(updateVer)), { 'appname': 'tstd', 'apptitle': 'TSTD(三国)-更新', 'referesh_website': '' }), )
from django.conf.urls import patterns, include, url from devoops.views import checkGp, writLogs, method_splitter, ShowUser, ShowHost, ShowGp, ShowSp, ShowSecurity, ShowIp from ops import views urlpatterns = patterns( '', url( r'^user/$', method_splitter, { 'GET': checkGp(['ops'])(writLogs(ShowUser.as_view())), 'POST': views.user_post }), url(r'^showhost/$', checkGp(['ops'])(writLogs(ShowHost.as_view()))), url(r'^showhost/(?P<page>\d+)/$', checkGp(['ops'])(writLogs(ShowHost.as_view()))), url(r'^sethost/add/$', views.addhost), url(r'^sethost/del/(\d+)/$', views.delhost), url(r'^sethost/mod/(\d+)/$', views.modhost), url(r'^sethost/mod/$', views.modhost), url( r'^sethost/gameplat/$', method_splitter, { 'GET': checkGp(['ops'])(writLogs(ShowGp.as_view())), 'POST': views.gameplat_post }), url( r'^sethost/serverplat/$', method_splitter, { 'GET': checkGp(['ops'])(writLogs(ShowSp.as_view())), 'POST': views.serverplat_post }), url( r'^security/$', method_splitter, {
#coding:utf-8 from django.conf.urls import patterns, include, url from devoops.views import updateVer, checkGp, writLogs urlpatterns = patterns( '', url( r'^$', checkGp(['ops', 'superstar'])(writLogs(updateVer)), { 'appname': 'superstar', 'apptitle': 'superstar(篮球)-更新', 'referesh_website': '' }), url( r'^update/$', checkGp(['ops', 'superstar'])(writLogs(updateVer)), { 'appname': 'superstar', 'apptitle': 'superstar(篮球)-更新', 'referesh_website': '' }), )
#coding:utf-8 from django.conf.urls import patterns, include, url from devoops.views import checkGp, writLogs, updateVer from ymyj.views import * #@method_decorator(checkGp(['ops','ymyj'])) #@method_decorator(writLogs) #def dispatch(self, request,*args, **kwargs): # return super(UpdateView, self).dispatch(request,*args, **kwargs) urlpatterns = patterns( '', url( r'^$', checkGp(['ops', 'ymyj'])(writLogs(updateVer)), { 'appname': 'ymyj', 'apptitle': 'YMYJ(三个奶爸)-更新', 'referesh_website': 'http://y.osg.so/' }), url( r'update/$', checkGp(['ops', 'ymyj'])(writLogs(updateVer)), { 'appname': 'ymyj', 'apptitle': 'YMYJ(三个奶爸)-更新', 'referesh_website': 'http://y.osg.so/' }), url( r'services/$', checkGp(['ops', 'ymyj'])(writLogs(updateVer)), { 'appname': 'ymyj',