This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ClassPropertyDescriptor(object): | |
def __init__(self, fget, fset=None): | |
self.fget = fget | |
self.fset = fset | |
def __get__(self, obj, klass=None): | |
if klass is None: | |
klass = type(obj) | |
return self.fget.__get__(obj, klass)() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://flask.pocoo.org/ | |
http://www.sqlalchemy.org/ | |
http://flask-sqlalchemy.pocoo.org/2.1/ | |
http://jinja.pocoo.org/ | |
http://flask-restful-cn.readthedocs.io/en/0.3.4/ | |
http://marshmallow.readthedocs.io/en/latest/index.html | |
http://flask.pocoo.org/docs/0.11/deploying/uwsgi/ | |
flask + `Web Framework` | |
sqlalchemy + flask+sqlalchemy + `ORM` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
普通消费者 | |
【order,deal(交易),product(产品),sku,payment(某次支付,付款相关),shop,point and cash(积分系统和内部财务系统), | |
分类(大的商品类别或商品分区之类的),推荐系统,支付方式,refund(退货),virtual_money(虚拟币,电子钱包),pay_password(支 | |
付密码),送货地址,订单状态,cart,邮费,促销系统】 | |
讨论 |