job
This commit is contained in:
@@ -115,7 +115,7 @@ func PublishJob(ctx *jxcontext.Context, jobExt *model.JobExt) (errCode string, e
|
|||||||
job.Lng = jxutils.StandardCoordinate2Int(lng)
|
job.Lng = jxutils.StandardCoordinate2Int(lng)
|
||||||
job.Lat = jxutils.StandardCoordinate2Int(lat)
|
job.Lat = jxutils.StandardCoordinate2Int(lat)
|
||||||
}
|
}
|
||||||
dao.WrapAddIDCULEntity(job, ctx.GetUserName())
|
dao.WrapAddIDCULDEntity(job, ctx.GetUserName())
|
||||||
dao.Begin(db)
|
dao.Begin(db)
|
||||||
defer func() {
|
defer func() {
|
||||||
if r := recover(); r != nil {
|
if r := recover(); r != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user