feat: 添加媒体资产上传初始化和完成相关API接口及数据结构
This commit is contained in:
@@ -23,6 +23,12 @@ import (
|
||||
"gorm.io/gorm/clause"
|
||||
)
|
||||
|
||||
// tenantJoin 提供“加入租户”域相关能力(占位服务)。
|
||||
// 当前 join 相关实现复用在 `tenant` service 上,以保持对外 API 不变;此处仅用于服务汇总/注入。
|
||||
//
|
||||
// @provider
|
||||
type tenantJoin struct{}
|
||||
|
||||
func isUniqueViolation(err error) bool {
|
||||
var pgErr *pgconn.PgError
|
||||
if errors.As(err, &pgErr) {
|
||||
|
||||
Reference in New Issue
Block a user