investment
2014-11-07 19:10:30 1 举报
Invest procedure
作者其他创作
大纲/内容
Yes
available_balance = invest_amount + coupon_amount
Decrease accountBalance
Get coupon amount
Get invest_amount
No
return products/confirm_error.html
Get required amount
invest_amount+coupon_amount = 100:
Generate investment record
Login
Check user?
Call PayAPI
Enable coupou
return bit_error使用优惠卷后最少投掷金额100.
Invest comform page
transaction.savepoint()
Get investment from url
Be invited?
Commit to database
POST
Get this project's model
Get project model
First investment?
successfully?
product/views.py:confirm
Add freezing
get balance
0 条评论
回复 删除
下一页