@ -628,7 +628,8 @@ type ArgsProfitCount struct {
}
func (o logic) ProfitCount(args ArgsProfitCount) (res Profit, err error) {
query := mysql.Db.Where("user_id = ?", args.UserID).
query := mysql.Db.Model(&order.Information{}).
Where("user_id = ?", args.UserID).
Where("order_type = 2").
Where("status in (1, 4)")