登陆代码迁移
This commit is contained in:
@ -24,6 +24,7 @@ import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.bind.annotation.CrossOrigin;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.*;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Base64;
|
||||
@ -40,7 +41,7 @@ import java.util.Map;
|
||||
@Slf4j
|
||||
public class FaceRecogServiceImpl implements FaceRecogService {
|
||||
|
||||
|
||||
@Resource
|
||||
private ExtendFeignClient extendFeignClient;
|
||||
|
||||
@Autowired
|
||||
|
@ -22,6 +22,7 @@ import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.Cookie;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
@ -41,7 +42,7 @@ public class UserInfoController {
|
||||
@Autowired
|
||||
private EbtpUserInfoService ebtpUserInfoService;
|
||||
|
||||
|
||||
@Resource
|
||||
private SupplierbaseFeignClient supplierbaseFeignClient;
|
||||
|
||||
@Autowired
|
||||
|
@ -50,13 +50,13 @@ public class EbtpUserInfoServiceImpl implements EbtpUserInfoService {
|
||||
@Resource
|
||||
private UnicomOAuthClient unicomOAuthClient;
|
||||
|
||||
|
||||
@Resource
|
||||
private RsmsFeignClient rsmsFeignClient;
|
||||
|
||||
|
||||
@Resource
|
||||
private AssessjFeignClient assessjFeignClient;
|
||||
|
||||
|
||||
@Resource
|
||||
private ExtendFeignClient extendFeignClient;
|
||||
|
||||
@Value("${auth.oauth.expert_url}")
|
||||
|
@ -16,7 +16,7 @@ import org.springframework.context.annotation.ComponentScan;
|
||||
DataSourceAutoConfiguration.class,
|
||||
DruidDataSourceAutoConfigure.class
|
||||
})
|
||||
@EnableFeignClients
|
||||
@EnableFeignClients(basePackages = {"com.coscoshipping.ebtp.*", "com.chinaunicom.mall.ebtp.*"})
|
||||
@MapperScan({"com.coscoshipping.ebtp.project.**.dao", "com.chinaunicom.mall.ebtp.**.dao"})
|
||||
@ComponentScan(basePackages = {"com.coscoshipping.ebtp.*", "com.chinaunicom.mall.ebtp.*"})
|
||||
public class SysManagerEbtpProjectApplication {
|
||||
|
@ -128,7 +128,7 @@ public class SysMenuController extends BaseController
|
||||
return BaseResponse.success(menuService.deleteMenuById(menuId));
|
||||
}
|
||||
@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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user