Skip to content

Commit ed393ef

Browse files
committed
【vivo】feature: 推广服务/广告计划、广告组、广告管理
1 parent 3e50d87 commit ed393ef

File tree

79 files changed

+10258
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+10258
-3
lines changed

code-generators/vivo-code-generator/src/main/java/com/hyq0719/mktapi/generator/vivo/handler/CodeGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public static void parseBaseEntity(Map<String, List<BaseEntity>> map, BaseEntity
141141
baseEntity.setType(TYPE_MAP.get(type));
142142
return;
143143
}
144-
if (OBJECT_TYPE_SET.contains(type)) {
144+
if (OBJECT_TYPE_SET.contains(type) || type.endsWith("Dto")) {
145145
String className = GeneratorUtils.toUpperCaseFirstOne(baseEntity.getCamelProperty() + "Struct");
146146

147147
SingleFileEntity sfe = new SingleFileEntity();
@@ -171,7 +171,7 @@ public static void parseBaseEntity(Map<String, List<BaseEntity>> map, BaseEntity
171171
baseEntity.setType(TYPE_MAP.get(type));
172172
return;
173173
}
174-
if (OBJECT_TYPE_SET.contains(type)) {
174+
if (OBJECT_TYPE_SET.contains(type) || type.endsWith("Dto")) {
175175
String className;
176176
if ("items".equals(camelProperty)) {
177177
className = GeneratorUtils.toUpperCaseFirstOne(classPrefix + "ItemsStruct");

marketing-api-vivo/src/main/java/com/hyq0719/mktapi/vivo/api/AccountServiceApi.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
import java.util.List;
1313

14+
/**
15+
* @author hyq0719
16+
* @description vivo商业开放平台——账号服务
17+
*/
1418
public class AccountServiceApi extends AbstractVivoApi {
1519
private volatile AccountFetch accountFetch;
1620
private volatile AccountFetchAccount accountFetchAccount;

marketing-api-vivo/src/main/java/com/hyq0719/mktapi/vivo/api/DataAccessApi.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
import java.util.List;
1313

14+
/**
15+
* @author hyq0719
16+
* @description vivo商业开放平台——数据接入
17+
*/
1418
public class DataAccessApi extends AbstractVivoApi {
1519
private volatile AdvertiserBehaviorUpload advertiserBehaviorUpload;
1620

marketing-api-vivo/src/main/java/com/hyq0719/mktapi/vivo/api/DataQueryApi.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
import java.util.List;
1313

1414
/**
15-
* vivo商业开放平台——数据洞察api
15+
* @author hyq0719
16+
* @description vivo商业开放平台——数据洞察
1617
*/
1718
public class DataQueryApi extends AbstractVivoApi {
1819
private volatile AdstatementSummaryQuery adstatementSummaryQuery;

marketing-api-vivo/src/main/java/com/hyq0719/mktapi/vivo/api/DmpTagApi.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
import java.util.List;
1414
import java.util.Map;
1515

16+
/**
17+
* @author hyq0719
18+
* @description vivo商业开放平台——人群管理
19+
*/
1620
public class DmpTagApi extends AbstractVivoApi {
1721
private volatile AdDmpTagUpload adDmpTagUpload;
1822
private volatile AdDmpTagCreate adDmpTagCreate;

0 commit comments

Comments
 (0)