|
@@ -106,6 +106,8 @@ public class TrailController {
|
|
|
trail.setCreated(new Timestamp(new Date().getTime()));
|
|
|
trail.setTarget(target);
|
|
|
trail.setIdTarget(idTarget);
|
|
|
+ if(desc.length()>250)
|
|
|
+ desc = desc.substring(0, 250);
|
|
|
trail.setText("管理员 " + adminOld.getName() + desc);
|
|
|
trail = trailService.Insert(trail);
|
|
|
return trail;
|