This commit is contained in:
2026-01-18 21:52:04 +08:00
parent ff4e069a7e
commit c62b4c04ec
147 changed files with 820 additions and 2028 deletions

View File

@@ -1,81 +0,0 @@
// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================
package service
import (
v1 "TrangleAgent/api/user/v1"
"context"
)
type (
IFans interface {
// FansList 获取粉丝列表
//
// 参数:
// - ctx context.Context: 上下文信息
// - req *v1.FansListReq: 粉丝列表请求参数
//
// 返回:
// - res *v1.FansListRes: 粉丝列表响应结果
// - err error: 错误信息
FansList(ctx context.Context, req *v1.FansListReq) (res *v1.FansListRes, err error)
// FansView 获取粉丝详情
//
// 参数:
// - ctx context.Context: 上下文信息
// - req *v1.FansViewReq: 粉丝详情请求参数
//
// 返回:
// - res *v1.FansViewRes: 粉丝详情响应结果
// - err error: 错误信息
FansView(ctx context.Context, req *v1.FansViewReq) (res *v1.FansViewRes, err error)
// FansUpdate 更新粉丝信息
//
// 参数:
// - ctx context.Context: 上下文信息
// - req *v1.FansUpdateReq: 粉丝更新请求参数
//
// 返回:
// - res *v1.FansUpdateRes: 粉丝更新响应结果
// - err error: 错误信息
FansUpdate(ctx context.Context, req *v1.FansUpdateReq) (res *v1.FansUpdateRes, err error)
// FansDelete 删除粉丝关系
//
// 参数:
// - ctx context.Context: 上下文信息
// - req *v1.FansDeleteReq: 粉丝删除请求参数
//
// 返回:
// - res *v1.FansDeleteRes: 粉丝删除响应结果
// - err error: 错误信息
FansDelete(ctx context.Context, req *v1.FansDeleteReq) (res *v1.FansDeleteRes, err error)
// FansCreate 创建粉丝关系
//
// 参数:
// - ctx context.Context: 上下文信息
// - req *v1.FansCreateReq: 粉丝创建请求参数
//
// 返回:
// - res *v1.FansCreateRes: 粉丝创建响应结果
// - err error: 错误信息
FansCreate(ctx context.Context, req *v1.FansCreateReq) (res *v1.FansCreateRes, err error)
}
)
var (
localFans IFans
)
func Fans() IFans {
if localFans == nil {
panic("implement not found for interface IFans, forgot register?")
}
return localFans
}
func RegisterFans(i IFans) {
localFans = i
}

View File

@@ -1,41 +0,0 @@
// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================
package service
import (
v1 "TrangleAgent/api/user/v1"
"context"
)
type (
ISubscribe interface {
// SubscribeList 获取关注列表
SubscribeList(ctx context.Context, req *v1.SubscribeListReq) (res *v1.SubscribeListRes, err error)
// SubscribeView 获取关注详情
SubscribeView(ctx context.Context, req *v1.SubscribeViewReq) (res *v1.SubscribeViewRes, err error)
// SubscribeUpdate 更新关注信息
SubscribeUpdate(ctx context.Context, req *v1.SubscribeUpdateReq) (res *v1.SubscribeUpdateRes, err error)
// SubscribeDelete 删除关注关系
SubscribeDelete(ctx context.Context, req *v1.SubscribeDeleteReq) (res *v1.SubscribeDeleteRes, err error)
// SubscribeCreate 创建关注关系
SubscribeCreate(ctx context.Context, req *v1.SubscribeCreateReq) (res *v1.SubscribeCreateRes, err error)
}
)
var (
localSubscribe ISubscribe
)
func Subscribe() ISubscribe {
if localSubscribe == nil {
panic("implement not found for interface ISubscribe, forgot register?")
}
return localSubscribe
}
func RegisterSubscribe(i ISubscribe) {
localSubscribe = i
}