This commit is contained in:
anlicheng 2026-04-19 17:42:31 +08:00
parent 5f75189c7a
commit ae97b5374c
2 changed files with 0 additions and 72 deletions

View File

@ -22,52 +22,3 @@
-define(TASK_STATUS_INIT, -1). %%
-define(TASK_STATUS_FAILED, 0). %% 线
-define(TASK_STATUS_OK, 1). %% 线
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
-record(kv, {
key :: binary(),
val :: binary() | list() | map() | sets:set(),
expire_at = 0 :: integer(),
type :: atom()
}).
%% id生成器
-record(id_generator, {
tab :: atom(),
increment_id = 0 :: integer()
}).
%%
-record(option, {
success_num = 0,
fail_num = 0
}).
%%
-record(north_data, {
id = 0 :: integer(),
location_code :: binary(),
%% endpoint list: [{K, V}, {K1, V1}]
fields :: [{K :: binary(), V :: any()}],
timestamp = 0 :: integer()
}).
%%
-record(event_data, {
id = 0 :: integer(),
location_code :: binary(),
event_type :: integer(),
params :: map()
}).
%%
-record(post_data, {
id = 0 :: integer(),
location_code :: binary(),
%% endpoint list: [{K, V}, {K1, V1}]
body :: binary() | list()
}).

View File

@ -1,23 +0,0 @@
%%%-------------------------------------------------------------------
%%% @author anlicheng
%%% @copyright (C) 2025, <COMPANY>
%%% @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
}).