|
@@ -428,7 +428,10 @@ public class UserAchievementApiController extends CertifyApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到关键词", "关键词"));
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到关键词", "关键词"));
|
|
|
return res;
|
|
return res;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ if(ia.getCooperationMode()== null) {
|
|
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到合作方式", "合作方式"));
|
|
|
|
|
+ return res;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
for (int i = 0; i < keywords.length; i++) {
|
|
for (int i = 0; i < keywords.length; i++) {
|
|
|
if (AFTConstants.KEYWORDLENTH < keywords[i].length()) {
|
|
if (AFTConstants.KEYWORDLENTH < keywords[i].length()) {
|