fix: repair healthz mysql check and im tenant creation
- healthz: Scan(new(int)) is not supported by GoFrame, use .One() so the mysql check no longer reports a false failure - im_tenant: set updated_by on insert for both im_tenant and im_tenant_config, otherwise new tenant creation fails with "Field 'updated_by' doesn't have a default value" - gitignore: exclude .trae/ local debugging artifacts
This commit is contained in:
@@ -38,6 +38,7 @@ type ImTenantInsertFields struct {
|
||||
DbDsn string `json:"dbDsn" dc:"独立连接串"`
|
||||
State int `json:"state" dc:"状态"`
|
||||
CreatedBy int64 `json:"createdBy" dc:"创建者"`
|
||||
UpdatedBy int64 `json:"updatedBy" dc:"更新者"`
|
||||
}
|
||||
|
||||
// ImTenantConfigUpdateFields 修改IM租户配置字段过滤
|
||||
|
||||
Reference in New Issue
Block a user