32 lines
		
	
	
		
			766 B
		
	
	
	
		
			Go
		
	
	
	
		
		
			
		
	
	
			32 lines
		
	
	
		
			766 B
		
	
	
	
		
			Go
		
	
	
	
| 
								 | 
							
								package accountlogic
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import (
							 | 
						||
| 
								 | 
							
									"context"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									"app-cloudep-member-server/gen_result/pb/member"
							 | 
						||
| 
								 | 
							
									"app-cloudep-member-server/internal/svc"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									"github.com/zeromicro/go-zero/core/logx"
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type GetUserAccountInfoLogic struct {
							 | 
						||
| 
								 | 
							
									ctx    context.Context
							 | 
						||
| 
								 | 
							
									svcCtx *svc.ServiceContext
							 | 
						||
| 
								 | 
							
									logx.Logger
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func NewGetUserAccountInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserAccountInfoLogic {
							 | 
						||
| 
								 | 
							
									return &GetUserAccountInfoLogic{
							 | 
						||
| 
								 | 
							
										ctx:    ctx,
							 | 
						||
| 
								 | 
							
										svcCtx: svcCtx,
							 | 
						||
| 
								 | 
							
										Logger: logx.WithContext(ctx),
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// GetUserAccountInfo 取得帳號密碼資料
							 | 
						||
| 
								 | 
							
								func (l *GetUserAccountInfoLogic) GetUserAccountInfo(in *member.GetUIDByAccountReq) (*member.GetAccountInfoResp, error) {
							 | 
						||
| 
								 | 
							
									// todo: add your logic here and delete this line
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									return &member.GetAccountInfoResp{}, nil
							 | 
						||
| 
								 | 
							
								}
							 |