| 
														
															@@ -1,13 +1,13 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 package com.flyer.foster.controller.app; 
														 | 
														
														 | 
														
															 package com.flyer.foster.controller.app; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import cn.dev33.satoken.annotation.SaCheckLogin; 
														 | 
														
														 | 
														
															 import cn.dev33.satoken.annotation.SaCheckLogin; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import cn.dev33.satoken.annotation.SaIgnore; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.flyer.foster.dto.AppUserQueryDTO; 
														 | 
														
														 | 
														
															 import com.flyer.foster.dto.AppUserQueryDTO; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.flyer.foster.pojo.StpAppUtil; 
														 | 
														
														 | 
														
															 import com.flyer.foster.pojo.StpAppUtil; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.flyer.foster.service.IAppUserService; 
														 | 
														
														 | 
														
															 import com.flyer.foster.service.IAppUserService; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.flyer.util.R; 
														 | 
														
														 | 
														
															 import com.flyer.util.R; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.beans.factory.annotation.Autowired; 
														 | 
														
														 | 
														
															 import org.springframework.beans.factory.annotation.Autowired; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.web.bind.annotation.RequestBody; 
														 | 
														
														 | 
														
															 import org.springframework.web.bind.annotation.RequestBody; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import org.springframework.web.bind.annotation.RequestHeader; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.web.bind.annotation.RequestMapping; 
														 | 
														
														 | 
														
															 import org.springframework.web.bind.annotation.RequestMapping; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.web.bind.annotation.RestController; 
														 | 
														
														 | 
														
															 import org.springframework.web.bind.annotation.RestController; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -17,15 +17,14 @@ import org.springframework.web.bind.annotation.RestController; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  * @author flyer 
														 | 
														
														 | 
														
															  * @author flyer 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  * @since 2024-05-09 
														 | 
														
														 | 
														
															  * @since 2024-05-09 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  */ 
														 | 
														
														 | 
														
															  */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-@SaCheckLogin(type = StpAppUtil.TYPE) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 @RestController 
														 | 
														
														 | 
														
															 @RestController 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-@RequestMapping("/app-user") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+@RequestMapping("/app/user") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 public class AppUserController { 
														 | 
														
														 | 
														
															 public class AppUserController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Autowired 
														 | 
														
														 | 
														
															     @Autowired 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     private IAppUserService iAppUserService; 
														 | 
														
														 | 
														
															     private IAppUserService iAppUserService; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @RequestMapping("/login") 
														 | 
														
														 | 
														
															     @RequestMapping("/login") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    public R login(@RequestBody AppUserQueryDTO dto, @RequestHeader("appId") String appId) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        return R.ok().result(iAppUserService.login(dto, appId)); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public R login(@RequestBody AppUserQueryDTO dto) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        return R.ok().result(iAppUserService.login(dto)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 |