修改参数

This commit is contained in:
Guava
2023-06-30 09:27:27 +08:00
parent fe1371a94a
commit 23a8fb7283

View File

@@ -189,9 +189,6 @@ public class CasesRecommendApi extends ApiBaseController {
} else if (CasesRecommendLaunchTypeEnum.IMPORT.getLaunchType().equals(casesRecommendLaunch.getLaunchType()) && StrUtil.isEmpty(casesRecommendLaunch.getImportId())) {
throw new RuntimeException("导入id不能为空");
}
if (CollectionUtil.isEmpty(casesRecommendLaunch.getPushUserIdList())) {
throw new RuntimeException("参数错误");
}
String token = request.getHeader("Xboe-Access-Token");
if (StringUtils.isEmpty(token)) {
token = request.getHeader("token");