| 
									
										
										
										
											2025-04-04 01:02:26 +08:00
										 |  |  | package user | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import ( | 
					
						
							|  |  |  | 	"net/http" | 
					
						
							| 
									
										
										
										
											2025-04-27 12:17:18 +08:00
										 |  |  | 	"tyc-server/app/main/api/internal/logic/user" | 
					
						
							|  |  |  | 	"tyc-server/app/main/api/internal/svc" | 
					
						
							| 
									
										
										
										
											2025-04-09 15:58:06 +08:00
										 |  |  | 	"tyc-server/common/result" | 
					
						
							| 
									
										
										
										
											2025-04-04 01:02:26 +08:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | func DecryptMobileHandler(svcCtx *svc.ServiceContext) http.HandlerFunc { | 
					
						
							|  |  |  | 	return func(w http.ResponseWriter, r *http.Request) { | 
					
						
							|  |  |  | 		l := user.NewDecryptMobileLogic(r.Context(), svcCtx) | 
					
						
							|  |  |  | 		err := l.DecryptMobile() | 
					
						
							|  |  |  | 		result.HttpResult(r, w, nil, err) | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } |