31 lines
		
	
	
		
			689 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			689 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package admin_feature
 | |
| 
 | |
| import (
 | |
| 	"context"
 | |
| 
 | |
| 	"hm-server/app/main/api/internal/svc"
 | |
| 	"hm-server/app/main/api/internal/types"
 | |
| 
 | |
| 	"github.com/zeromicro/go-zero/core/logx"
 | |
| )
 | |
| 
 | |
| type AdminUpdateFeatureLogic struct {
 | |
| 	logx.Logger
 | |
| 	ctx    context.Context
 | |
| 	svcCtx *svc.ServiceContext
 | |
| }
 | |
| 
 | |
| func NewAdminUpdateFeatureLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AdminUpdateFeatureLogic {
 | |
| 	return &AdminUpdateFeatureLogic{
 | |
| 		Logger: logx.WithContext(ctx),
 | |
| 		ctx:    ctx,
 | |
| 		svcCtx: svcCtx,
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (l *AdminUpdateFeatureLogic) AdminUpdateFeature(req *types.AdminUpdateFeatureReq) (resp *types.AdminUpdateFeatureResp, err error) {
 | |
| 	// todo: add your logic here and delete this line
 | |
| 
 | |
| 	return
 | |
| }
 |