|
@@ -32,6 +32,7 @@ public class CollectionSlogansServiceImpl extends ServiceImpl<CollectionSlogansM
|
|
Long accountId = requestJson.getLong("accountId");
|
|
Long accountId = requestJson.getLong("accountId");
|
|
JSONArray coverSlogansList = requestJson.getJSONArray("coverSlogansList");
|
|
JSONArray coverSlogansList = requestJson.getJSONArray("coverSlogansList");
|
|
JSONArray captionsList = requestJson.getJSONArray("captionsList");
|
|
JSONArray captionsList = requestJson.getJSONArray("captionsList");
|
|
|
|
+ JSONArray tagList = requestJson.getJSONArray("creativeTag");
|
|
if (!Check.isNull(coverSlogansList)) {
|
|
if (!Check.isNull(coverSlogansList)) {
|
|
//封面广告语
|
|
//封面广告语
|
|
co.setType(NoEn.NO1.valueStr());
|
|
co.setType(NoEn.NO1.valueStr());
|
|
@@ -41,6 +42,11 @@ public class CollectionSlogansServiceImpl extends ServiceImpl<CollectionSlogansM
|
|
co.setType(NoEn.NO2.valueStr());
|
|
co.setType(NoEn.NO2.valueStr());
|
|
co.setValue(captionsList.toString());
|
|
co.setValue(captionsList.toString());
|
|
}
|
|
}
|
|
|
|
+ //创意标题
|
|
|
|
+ if (!Check.isNull(tagList)) {
|
|
|
|
+ co.setType(NoEn.NO3.valueStr());
|
|
|
|
+ co.setValue(captionsList.toString());
|
|
|
|
+ }
|
|
co.setAccountId(accountId);
|
|
co.setAccountId(accountId);
|
|
co.setUserId(userId);
|
|
co.setUserId(userId);
|
|
JSONObject slogansJson = getByUserId(userId, accountId.toString(), co.getType());
|
|
JSONObject slogansJson = getByUserId(userId, accountId.toString(), co.getType());
|