jsondata超长处理,创建门店操作日志
This commit is contained in:
@@ -46,6 +46,7 @@ func AddOperateEvent(ctx *jxcontext.Context, accessUUID, jsonData string) (err e
|
||||
if accessUUID != "" {
|
||||
accessUUID = accessUUID[0:strings.Index(accessUUID, ",")]
|
||||
}
|
||||
jsonData = utils.LimitUTF8StringLen(jsonData, 3200)
|
||||
event := &model.OperateEvent{
|
||||
CreatedAt: time.Now(),
|
||||
LastOperator: ctx.GetUserName(),
|
||||
|
||||
Reference in New Issue
Block a user