%%%------------------------------------------------------------------- %%% @author anlicheng %%% @copyright (C) 2025, %%% @doc %%% %%% @end %%% Created : 08. 5月 2025 12:08 %%%------------------------------------------------------------------- -author("anlicheng"). %% 用来保存微服务的配置 -record(service_config, { service_id :: binary(), host_uuid :: binary(), config_json = <<>> :: binary(), %% 保持上一个版本的内容,错误时回滚 last_config_json = <<>> :: binary(), %% 最后一次修改的用户id last_edit_user :: integer(), %% 状态: 0: 停止, 1: 运行中 update_ts = 0, create_ts = 0 }).