a
This commit is contained in:
@@ -39,6 +39,8 @@ const (
|
|||||||
|
|
||||||
JobSpanTop = 1 //置顶
|
JobSpanTop = 1 //置顶
|
||||||
JobSpanRecommend = 2 //推荐
|
JobSpanRecommend = 2 //推荐
|
||||||
|
|
||||||
|
JobCountrywideCode = 999
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -73,9 +75,12 @@ type Job struct {
|
|||||||
CashbackType int `json:"cashbackType"` //返现方式,1为固定返现,2为比例返现
|
CashbackType int `json:"cashbackType"` //返现方式,1为固定返现,2为比例返现
|
||||||
TotalPrice int `json:"totalPrice"` //任务总金额
|
TotalPrice int `json:"totalPrice"` //任务总金额
|
||||||
Status int `json:"status"` //任务状态
|
Status int `json:"status"` //任务状态
|
||||||
Address string `orm:"size(500)" json:"address"` //任务地址
|
Address string `orm:"size(500)" json:"address"` //门店地址
|
||||||
Lng int `json:"lng"` //乘了10的6次方
|
Lng int `json:"lng"` //乘了10的6次方
|
||||||
Lat int `json:"lat"` //乘了10的6次方
|
Lat int `json:"lat"` //乘了10的6次方
|
||||||
|
JobLng float64 `json:"jobLng"` //任务发布地址
|
||||||
|
JobLat float64 `json:"jobLat"` //任务发布地址
|
||||||
|
JobCityCode int `json:"jobCityCode"` //任务所属城市,999代表全国
|
||||||
JobLimitAt int `json:"jobLimitAt"` //任务限时完成小时数
|
JobLimitAt int `json:"jobLimitAt"` //任务限时完成小时数
|
||||||
AuditLimitAt int `json:"auditLimitAt"` //任务审核限时小时数
|
AuditLimitAt int `json:"auditLimitAt"` //任务审核限时小时数
|
||||||
FinishedAt *time.Time `orm:"null" json:"finishedAt"` //接单截止日期
|
FinishedAt *time.Time `orm:"null" json:"finishedAt"` //接单截止日期
|
||||||
|
|||||||
Reference in New Issue
Block a user