|
@ -108,7 +108,10 @@ public class BusinessBuyerUserController { |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping(value = "getLabels") |
|
|
@PostMapping(value = "getLabels") |
|
|
@ApiOperation(value = "标签查询") |
|
|
@ApiOperation(value = "标签查询") |
|
|
public Result<List<CerePlatformLabel>> getLabels(@RequestBody BusinessBuyerGetLabelsParam param) throws CoBusinessException{ |
|
|
|
|
|
|
|
|
public Result<List<CerePlatformLabel>> getLabels(@RequestBody BusinessBuyerGetLabelsParam param, HttpServletRequest request) throws CoBusinessException{ |
|
|
|
|
|
//获取当前登录账户 |
|
|
|
|
|
CerePlatformBusinessUser user = (CerePlatformBusinessUser) request.getAttribute("user"); |
|
|
|
|
|
param.setBusinessId(user.getBusinessId()); |
|
|
List<CerePlatformLabel> list=cereBuyerUserService.getLabels(param); |
|
|
List<CerePlatformLabel> list=cereBuyerUserService.getLabels(param); |
|
|
return new Result(list); |
|
|
return new Result(list); |
|
|
} |
|
|
} |
|
|