|
|
@@ -4,8 +4,11 @@ import Utils.LogBuilder;
|
|
|
import client.LogTrackingClient;
|
|
|
import com.nju.edu.logTracking.enums.SeecSystem;
|
|
|
import org.slf4j.Logger;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
|
public class LogTrackingUtil {
|
|
|
+ @Autowired
|
|
|
+ public UserService userService;
|
|
|
|
|
|
private static final Logger logger = LoggerUtil.getLogger(LogTrackingUtil.class);
|
|
|
|
|
|
@@ -15,7 +18,7 @@ public class LogTrackingUtil {
|
|
|
.target(SeecSystem.SMART)
|
|
|
.source(SeecSystem.DEVCLOUD)
|
|
|
.operationType(opType.getNum())
|
|
|
- .data(data)
|
|
|
+ .data(data.concat(" uid:").concat(userService.loginUser().getId()))
|
|
|
.message(opType.getName())
|
|
|
.build();
|
|
|
LogTrackingClient
|