|
@@ -136,6 +136,9 @@ public class ServiceInfoController extends MallUserInfoBaseController{ |
|
|
if (null == si) { |
|
|
if (null == si) { |
|
|
throw new BizException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"id无效"); |
|
|
throw new BizException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"id无效"); |
|
|
} |
|
|
} |
|
|
|
|
|
if (null == times) { |
|
|
|
|
|
throw new BizException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"times无效"); |
|
|
|
|
|
} |
|
|
si.setRemainingTimes(times); |
|
|
si.setRemainingTimes(times); |
|
|
serviceInfoService.updateServiceInfo(si); |
|
|
serviceInfoService.updateServiceInfo(si); |
|
|
return R.ok(); |
|
|
return R.ok(); |
|
|