Documentation
¶
Index ¶
- type Handler
- func (this *Handler) CalcTax(uid int, trade_type int, stock_code, stock_name string, stock_price float64, ...) (float64, float64, float64, float64, error)
- func (this *Handler) CheckIdentity(uid, req_time_stamp, sign string) (bool, error)
- func (this *Handler) DeductUserContestTax(userid int, amount, stamp_tax, transfer_tax, brokerage float64) (err error)
- func (this *Handler) DeductUserTax(userid int, amount, stamp_tax, transfer_tax, brokerage float64) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { }
func (*Handler) CalcTax ¶
func (this *Handler) CalcTax( uid int, trade_type int, stock_code, stock_name string, stock_price float64, stock_count int, ) (float64, float64, float64, float64, error)
计算 总金额, 印花税, 過戶費, 交易佣金
Click to show internal directories.
Click to hide internal directories.