更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

+6 -7
View File
@@ -2,19 +2,18 @@ package models
import "time"
// BackendMcpTool MCP工具配置表
type BackendMcpTool struct {
ID uint64 `orm:"column(id);pk;auto" json:"id"`
TenantID string `orm:"column(tenant_id);size(64)" json:"tenant_id"`
UserID uint64 `orm:"column(user_id);default(0)" json:"user_id"`
Name string `orm:"column(name);size(100)" json:"name"`
Type string `orm:"column(type);size(20)" json:"type"` // rest/http/other
Type string `orm:"column(type);size(20)" json:"type"`
URL string `orm:"column(url);size(255)" json:"url"`
Method string `orm:"column(method);size(10)" json:"method"` // GET/POST/PUT/DELETE
Headers string `orm:"column(headers);type(text)" json:"headers"` // JSON
Params string `orm:"column(params);type(text)" json:"params"` // JSON
Body string `orm:"column(body);type(text)" json:"body"` // JSON
Enabled int8 `orm:"column(enabled);default(1)" json:"enabled"` // 0-禁用 1-启用
Method string `orm:"column(method);size(10)" json:"method"`
Headers string `orm:"column(headers);type(text)" json:"headers"`
Params string `orm:"column(params);type(text)" json:"params"`
Body string `orm:"column(body);type(text)" json:"body"`
Enabled int8 `orm:"column(enabled);default(1)" json:"enabled"`
Remark string `orm:"column(remark);size(255)" json:"remark"`
CreateTime time.Time `orm:"column(create_time);auto_now_add;type(datetime)" json:"create_time"`
UpdateTime time.Time `orm:"column(update_time);auto_now;type(datetime)" json:"update_time"`