You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
801 B

package health
import (
"context"
"backend/usercenter/api/internal/svc"
"backend/usercenter/api/internal/types"
"github.com/zeromicro/go-zero/core/logx"
// github.com/spf13/cast // 类型转换
// github.com/golang-module/carbon/v2 // 日期时间处理
// github.com/jinzhu/copier/v2 // 结构体复制
// orm 目录下的 orm 包
)
type UsercenterPingLogic struct {
logx.Logger
ctx context.Context
svcCtx *svc.ServiceContext
}
func NewUsercenterPingLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UsercenterPingLogic {
return &UsercenterPingLogic{
Logger: logx.WithContext(ctx),
ctx: ctx,
svcCtx: svcCtx,
}
}
func (l *UsercenterPingLogic) UsercenterPing() (resp *types.CommonResponse, err error) {
// todo: add your logic here and delete this line
return
}