From 829e1d76c273590839a4b04639d730bcfc3f5ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 18 Dec 2020 17:02:00 +0800 Subject: [PATCH] a --- business/model/job.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/business/model/job.go b/business/model/job.go index e085beb4d..a4b0485ec 100644 --- a/business/model/job.go +++ b/business/model/job.go @@ -39,6 +39,8 @@ const ( JobSpanTop = 1 //置顶 JobSpanRecommend = 2 //推荐 + + JobCountrywideCode = 999 ) var ( @@ -73,9 +75,12 @@ type Job struct { CashbackType int `json:"cashbackType"` //返现方式,1为固定返现,2为比例返现 TotalPrice int `json:"totalPrice"` //任务总金额 Status int `json:"status"` //任务状态 - Address string `orm:"size(500)" json:"address"` //任务地址 + Address string `orm:"size(500)" json:"address"` //门店地址 Lng int `json:"lng"` //乘了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"` //任务限时完成小时数 AuditLimitAt int `json:"auditLimitAt"` //任务审核限时小时数 FinishedAt *time.Time `orm:"null" json:"finishedAt"` //接单截止日期