|
@@ -290,8 +290,8 @@ public class CommonLogService {
|
|
|
ResultData resultData = JSON.parseObject(responseResult, ResultData.class);
|
|
|
if(resultData.getCode() == 0){
|
|
|
operLog.setResult("操作成功");
|
|
|
- JSONObject jsonObject = (JSONObject) resultData.getData();
|
|
|
if(operLog.getUserId() == null){
|
|
|
+ JSONObject jsonObject = (JSONObject) resultData.getData();
|
|
|
operLog.setUserId( Long.valueOf(jsonObject.getString("id")));
|
|
|
operLog.setUserName(jsonObject.getString("userName"));
|
|
|
operLog.setNickName(jsonObject.getString("nickName"));
|