From ccdc532142872be1a7c2184ac02afc79f57673a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 4 Jan 2021 15:45:31 +0800 Subject: [PATCH] aa --- business/jxstore/cms/job.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/business/jxstore/cms/job.go b/business/jxstore/cms/job.go index 76b7477c5..beed5bb73 100644 --- a/business/jxstore/cms/job.go +++ b/business/jxstore/cms/job.go @@ -708,12 +708,12 @@ func AuditJob(ctx *jxcontext.Context, jobOrderID, status int, comment, vendorWay userBillJobOrder, err := dao.GetUserBill(db, jobOrder.UserID, "") //系统消息 content := new(strings.Builder) - content.WriteString("您接取的任务:") + content.WriteString("恭喜您完成了任务:") content.WriteString(job.Title) if ctx.GetUserName() == "jxadmin" { content.WriteString(",因超时未审核已被系统自动审核") } else { - content.WriteString(",已被审核") + content.WriteString(",商家已经审核") } dao.Begin(db) defer func() { @@ -796,7 +796,7 @@ func AuditJob(ctx *jxcontext.Context, jobOrderID, status int, comment, vendorWay } } } else { - content.WriteString("不通过,请确认!") + content.WriteString("不通过,请您修改后重新提交!") if job.Status < 0 { if job.CashbackType == model.JobCashbackPrice { userBill, err := dao.GetUserBill(db, job.UserID, "") @@ -1575,7 +1575,6 @@ func UpdateJob(ctx *jxcontext.Context, payload map[string]interface{}) (err erro job2.ID = int(utils.MustInterface2Int64(payload["id"])) dao.GetEntity(db, job2) valid := dao.StrictMakeMapByStructObject(payload, job2, ctx.GetUserName()) - fmt.Println(".......................................", utils.Format4Output(valid, false)) if len(valid) > 0 { dao.Begin(db) defer func() {