python学习

This commit is contained in:
2019-08-06 17:16:39 +08:00
parent 020f56d2d5
commit 2b7e1e1fc8
36 changed files with 3812 additions and 377 deletions

View File

@@ -14,11 +14,11 @@ IGNORE_CHECK_LOGIN_URLS = [
"^/static",
"^/favicon.ico"
]
API_IGNORE_URLS = [
"^/api"
]
PAGE_SIZE = 50
PAGE_DISPLAY = 10
@@ -30,7 +30,7 @@ STATUS_MAPPING = {
MINA_APP = {
'appid':'wx2c65877d37fc29bf',
'appkey':'b670fb4798ec6abf4bab32ae3cf14a61',
'appkey':'8c61791794cde415042924a9714542a9',
'paykey':'xxxxxxxxxxxxxx换自己的',
'mch_id':'xxxxxxxxxxxx换自己的',
'callback_url':'/api/order/callback'
@@ -43,7 +43,7 @@ UPLOAD = {
}
APP = {
'domain':'http://127.0.0.1:9000'
'domain':'http://127.0.0.1:8999'
}

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
SERVER_PORT = 9000
DEBUG = True
SQLALCHEMY_ECHO = True
SQLALCHEMY_DATABASE_URI = 'mysql://root:123456@127.0.0.1/food_db'