python学习

This commit is contained in:
2019-07-31 17:12:55 +08:00
parent 04327fbd47
commit f87f5ca73a
13 changed files with 841 additions and 317 deletions

View File

@@ -7,7 +7,8 @@ AUTH_COOKIE_NAME = "mooc_food"
##过滤url
IGNORE_URLS = [
"^/user/login"
"^/user/login",
"^/api"
]
IGNORE_CHECK_LOGIN_URLS = [
@@ -15,10 +16,21 @@ IGNORE_CHECK_LOGIN_URLS = [
"^/favicon.ico"
]
PAGE_SIZE = 50
PAGE_DISPLAY = 10
STATUS_MAPPING = {
"1":"正常",
"0":"已删除"
}
MINA_APP = {
'appid':'wx2c65877d37fc29bf',
'appkey':'8c61791794cde415042924a9714542a9',
'paykey':'xxxxxxxxxxxxxx换自己的',
'mch_id':'xxxxxxxxxxxx换自己的',
'callback_url':'/api/order/callback'
}