|
@@ -57,8 +57,7 @@ public class ProjectMemberController {
|
|
|
private IAdvertiserService advertiserService;
|
|
|
@Autowired
|
|
|
private IUserAllocationService userAllocationService;
|
|
|
- @Autowired
|
|
|
- private IProductService productService;
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 查看项目成员
|
|
@@ -92,6 +91,9 @@ public class ProjectMemberController {
|
|
|
* @param userId
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Autowired
|
|
|
+ private IProductService productService;
|
|
|
+
|
|
|
@GetMapping(value = "/participateList")
|
|
|
public Map<String, Object> participateList(String userId) {
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
@@ -510,11 +512,10 @@ public class ProjectMemberController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/getProjectAccountByUserId")
|
|
|
- public Result<List<Map<String, Object>>> getProjectAccountBy(String mediaType) {
|
|
|
+ public Result<List<Map<String, Object>>> getProjectAccountBy(String mediaType,String userId) {
|
|
|
Result<List<Map<String, Object>>> resultBody = new Result<>();
|
|
|
try {
|
|
|
- LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
- List<Map<String, Object>> result = projectMemberService.getProjectAccountByUserId(user.getId(), mediaType);
|
|
|
+ List<Map<String, Object>> result = projectMemberService.getProjectAccountByUserId(userId, mediaType);
|
|
|
resultBody.setSuccess(true);
|
|
|
resultBody.setResult(result);
|
|
|
} catch (Exception e) {
|