Commit 31e681d1 authored by 赵啸非's avatar 赵啸非

添加服务检测拉起脚本

parent e255e13a
......@@ -30,9 +30,15 @@ public class OperateLogServiceImpl extends AbstractCRUDServiceImpl<OperateLogDao
return super.save(entity);
}
// @Override
// public int save(List<OperateLogEntity> list, Context context) throws AppException {
// list.forEach(item->item.setId(IdUtil.getSnowflake(0, 1).nextId()));
// return super.save(list, context);
// }
@Override
public OperateLogEntity save(OperateLogEntity entity, Context context) throws AppException {
entity.setId(IdUtil.getSnowflake(0, 1).nextId());
return super.save(entity, context);
}
@Override
public int save(List<OperateLogEntity> list, Context context) throws AppException {
list.forEach(item -> item.setId(IdUtil.getSnowflake(0, 1).nextId()));
return super.save(list, context);
}
}
\ No newline at end of file
......@@ -28,7 +28,6 @@ Content-Type: application/json
###平台用户操作日志业务更新与保存
POST {{baseUrl}}/operate/log/save
Authorization: {{authToken}}
Content-Type: application/json
{
......@@ -39,8 +38,8 @@ Content-Type: application/json
"requestUrl":"r40qzm",
"content":"5x7eyb",
"ip":"h6wkk2",
"logDate":"1660665600000",
"operType":574,
"logDate":"2023-05-01 16:25:12",
"operType":574
}
> {%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment