增加remote_address和server_ip

This commit is contained in:
mark.tian
2025-12-02 18:31:51 +08:00
parent 9cb45204c9
commit 49afdc9692
3 changed files with 57 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ class CallbackLog(Base):
id = Column(Integer, primary_key=True, autoincrement=True)
site_id = Column(String(100), nullable=False, comment="站点ID") # 新增siteId字段
remote_address = Column(String(45), nullable=True, comment="客户端IP地址")
server_ip = Column(String(45), nullable=True, comment="服务器IP地址")
request_url = Column(String(500), nullable=False)
request_headers = Column(JSON, nullable=False)
request_body = Column(JSON, nullable=False)