|
@@ -155,6 +155,7 @@ public class CallbackController {
|
|
|
Long projectId = json.getLong("projectId");
|
|
|
BigDecimal WarningProportion = json.getBigDecimal("WarningProportion");
|
|
|
BigDecimal WarningAmount = json.getBigDecimal("WarningAmount");
|
|
|
+ String systemType = json.getString("systemType");
|
|
|
|
|
|
CtopOauthToken topOauthToken = new CtopOauthToken();
|
|
|
topOauthToken.setId(String.valueOf(accountId));
|
|
@@ -188,6 +189,7 @@ public class CallbackController {
|
|
|
userAllocation.setUserName(userName);
|
|
|
userAllocation.setUserId(userId);
|
|
|
userAllocation.setAdvertiserId(advertiserId);
|
|
|
+ userAllocation.setSystemType(systemType);
|
|
|
// 获取快手昵称
|
|
|
Map<String, Object> advertiseBaseInfoMap = kuaishouInterfaceService.advertiserInfo(accountId, token.getAccessToken());
|
|
|
if ((Integer) advertiseBaseInfoMap.get("code") == 0) {
|
|
@@ -313,6 +315,7 @@ public class CallbackController {
|
|
|
returnMap.put("desc", "授权失败,账号已被:" + checkUserAllocation.getUserName() + "绑定");
|
|
|
}
|
|
|
|
|
|
+ String systemType = json.getString("systemType");
|
|
|
UserAllocation userAllocation = new UserAllocation();
|
|
|
userAllocation.setUserId(userId);
|
|
|
userAllocation.setUserName(userName);
|
|
@@ -321,6 +324,7 @@ public class CallbackController {
|
|
|
userAllocation.setMediaId(mediaId);
|
|
|
userAllocation.setProjectId(projectId);
|
|
|
userAllocation.setProjectName(projectName);
|
|
|
+ userAllocation.setSystemType(systemType);
|
|
|
userAllocation.setAuthName((String) advertiserDataMap.get("name"));
|
|
|
userAllocation.setAdvertiserId(advertiserId);
|
|
|
userAllocation.setWarningProportion(WarningProportion);
|