登陆代码迁移

This commit is contained in:
houjishuang
2025-06-13 10:45:19 +08:00
parent 6129a283ad
commit 97bb1afa26
5 changed files with 9 additions and 7 deletions

View File

@ -24,6 +24,7 @@ import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import java.io.*; import java.io.*;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Base64; import java.util.Base64;
@ -40,7 +41,7 @@ import java.util.Map;
@Slf4j @Slf4j
public class FaceRecogServiceImpl implements FaceRecogService { public class FaceRecogServiceImpl implements FaceRecogService {
@Resource
private ExtendFeignClient extendFeignClient; private ExtendFeignClient extendFeignClient;
@Autowired @Autowired

View File

@ -22,6 +22,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.servlet.http.Cookie; import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
@ -41,7 +42,7 @@ public class UserInfoController {
@Autowired @Autowired
private EbtpUserInfoService ebtpUserInfoService; private EbtpUserInfoService ebtpUserInfoService;
@Resource
private SupplierbaseFeignClient supplierbaseFeignClient; private SupplierbaseFeignClient supplierbaseFeignClient;
@Autowired @Autowired

View File

@ -50,13 +50,13 @@ public class EbtpUserInfoServiceImpl implements EbtpUserInfoService {
@Resource @Resource
private UnicomOAuthClient unicomOAuthClient; private UnicomOAuthClient unicomOAuthClient;
@Resource
private RsmsFeignClient rsmsFeignClient; private RsmsFeignClient rsmsFeignClient;
@Resource
private AssessjFeignClient assessjFeignClient; private AssessjFeignClient assessjFeignClient;
@Resource
private ExtendFeignClient extendFeignClient; private ExtendFeignClient extendFeignClient;
@Value("${auth.oauth.expert_url}") @Value("${auth.oauth.expert_url}")

View File

@ -16,7 +16,7 @@ import org.springframework.context.annotation.ComponentScan;
DataSourceAutoConfiguration.class, DataSourceAutoConfiguration.class,
DruidDataSourceAutoConfigure.class DruidDataSourceAutoConfigure.class
}) })
@EnableFeignClients @EnableFeignClients(basePackages = {"com.coscoshipping.ebtp.*", "com.chinaunicom.mall.ebtp.*"})
@MapperScan({"com.coscoshipping.ebtp.project.**.dao", "com.chinaunicom.mall.ebtp.**.dao"}) @MapperScan({"com.coscoshipping.ebtp.project.**.dao", "com.chinaunicom.mall.ebtp.**.dao"})
@ComponentScan(basePackages = {"com.coscoshipping.ebtp.*", "com.chinaunicom.mall.ebtp.*"}) @ComponentScan(basePackages = {"com.coscoshipping.ebtp.*", "com.chinaunicom.mall.ebtp.*"})
public class SysManagerEbtpProjectApplication { public class SysManagerEbtpProjectApplication {

View File

@ -128,7 +128,7 @@ public class SysMenuController extends BaseController
return BaseResponse.success(menuService.deleteMenuById(menuId)); return BaseResponse.success(menuService.deleteMenuById(menuId));
} }
@GetMapping(value = "/expert/role/menu") @GetMapping(value = "/expert/role/menu")
public BaseResponse<List<BaseRoleTabulation>> getBaseRoleTabulation(@RequestParam String userId) public BaseResponse<List<BaseRoleTabulation>> getBaseRoleTabulation(@RequestParam("userId") String userId)
{ {
return BaseResponse.success(menuService.getBaseRoleTabulation(userId)); return BaseResponse.success(menuService.getBaseRoleTabulation(userId));
} }