|
@@ -71,13 +71,14 @@ public class FileInfoServiceImpl extends ServiceImpl<FileInfoMapper, FileInfo> i
|
|
|
if (code == 0) {
|
|
|
log.info("头条上传素材成功,返回信息:{},accountId:{}", jsonObject, accountId);
|
|
|
} else {
|
|
|
+ log.error("头条上传素材失败,返回信息:{},accountId:{}", jsonObject, accountId);
|
|
|
UserAllocation allocation = userAllocationService.getByAccountId(Long.valueOf(accountId));
|
|
|
String message = messageTemplate.getMaterialSyncTemplate(allocation.getProjectName(), Long.valueOf(accountId), allocation.getAuthName(), materialName, jsonObject.getString("message"));
|
|
|
sendMessageService.sendMessage(userId, message);
|
|
|
}
|
|
|
|
|
|
}else{
|
|
|
- log.info("头条上传素材f返回结果为空,返回信息:{},accountId:{}", jsonObject, accountId);
|
|
|
+ log.info("头条上传素材返回结果为空,返回信息:{},accountId:{}", jsonObject, accountId);
|
|
|
}
|
|
|
|
|
|
|