一个余额
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
package model
|
||||
|
||||
const (
|
||||
BillTypeDeposit = 1 //发布任务
|
||||
BillTypeJob = 2 //做任务实得
|
||||
BillTypeMember = 3 //开通会员
|
||||
BillTypeJobCancelOverdue = 4 //任务过期或取消
|
||||
BillTypeJobAuditUnPassWithCancelOverdue = 5 //任务不通过时,任务已取消或过期
|
||||
)
|
||||
|
||||
//账单收入表
|
||||
type BillIncome struct {
|
||||
ModelIDCUL
|
||||
@@ -39,7 +47,6 @@ type UserBill struct {
|
||||
BillID int64 `orm:"column(bill_id)" json:"billID"` //账单ID
|
||||
UserID string `orm:"column(user_id)" json:"userID"` //用户ID
|
||||
AccountBalance int `json:"accountBalance"` //账户余额
|
||||
DepositBalance int `json:"depositBalance"` //保证金余额
|
||||
}
|
||||
|
||||
func (v *UserBill) TableUnique() [][]string {
|
||||
|
||||
@@ -33,8 +33,8 @@ const (
|
||||
OrderTypeSupplyGoods = 2 //进货订单
|
||||
OrderTypeDefendPrice = 3 //守价订单
|
||||
|
||||
OrderTypeDeposit = 1 //保证金
|
||||
OrderTypeJob = 2 //任务金
|
||||
OrderTypeAccount = 1 //任务保证金
|
||||
OrderTypeMember = 2 //开通会员
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user