浏览代码

feat:日期

wangshan 1 年之前
父节点
当前提交
0733602cef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jyBXCore/rpc/model/mysql/participateStage.go

+ 1 - 1
jyBXCore/rpc/model/mysql/participateStage.go

@@ -74,7 +74,7 @@ func (p *ParStage) UpdateStage() {
 				entUserId     = strconv.FormatInt(gconv.Int64(rv["ent_user_id"]), 10)
 				positionId    = strconv.FormatInt(gconv.Int64(rv["position_id"]), 10)
 			)
-			createDate = gconv.String(rv["create_date"])
+			createDate = strings.Split(gconv.String(rv["create_date"]), " ")[0]
 			if ok {
 				contentMap = gconv.Map(content)
 				if contentMap["afterMap"] != nil {