python学习

This commit is contained in:
2019-07-18 08:59:26 +08:00
parent 8ebdee9a2c
commit 7bd7a50cff
347 changed files with 149728 additions and 82 deletions

15
common/libs/UrlManager.py Normal file
View File

@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
class UrlManager(object):
def __init__(self):
pass
@staticmethod
def buildUrl( path ):
return path
@staticmethod
def buildStaticUrl(path):
ver = "%s"%( 22222222 )
path = "/static" + path + "?ver=" + ver
return UrlManager.buildUrl( path )