浏览代码

fix

photo
winter 1年前
父节点
当前提交
28722696c1
共有 1 个文件被更改,包括 4 次插入6 次删除
  1. +4
    -6
      suimangAdmin/src/main/java/com/iformall/controller/sm/ServiceInfoController.java

+ 4
- 6
suimangAdmin/src/main/java/com/iformall/controller/sm/ServiceInfoController.java 查看文件

@@ -171,13 +171,11 @@ public class ServiceInfoController extends MallUserInfoBaseController{
@ApiOperation("接入商分页列表接口") @ApiOperation("接入商分页列表接口")
@GetMapping("personMouldIdList") @GetMapping("personMouldIdList")
public ResultData serviceMouldIdList() {
MallUserInfo user = this.getUser();
ServiceInfo si = serviceInfoService.getServiceInfoByMallUserInfo(user.getId());
if (null == si) {
return new ResultData();
public ResultData serviceMouldIdList(Long serviceId) {
if (null == serviceId) {
throw new BizException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),serviceId+"不为空");
} }
List<Long> mouldIds = personMouldService.getServiceMouldIds(si.getId());
List<Long> mouldIds = personMouldService.getServiceMouldIds(serviceId);
return new ResultData(mouldIds); return new ResultData(mouldIds);
} }


正在加载...
取消
保存