临时测试修改
This commit is contained in:
@@ -1467,10 +1467,14 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
|||||||
toProductImageResultMapper.updateById(toProductImageResult);
|
toProductImageResultMapper.updateById(toProductImageResult);
|
||||||
results.add(new MagicToolResultVO(taskId, fluxResult));
|
results.add(new MagicToolResultVO(taskId, fluxResult));
|
||||||
} else {
|
} else {
|
||||||
results.add(processFluxResult(fluxResult, toProductImageResult, taskId, toProductImageRecord.getPrompt()));
|
fluxResult="Fail";
|
||||||
// 扣积分
|
toProductImageResult.setStatus(fluxResult);
|
||||||
Boolean flag = creditsService.taskCreditsDeduction(project.getAccountId(), taskId);
|
toProductImageResultMapper.updateById(toProductImageResult);
|
||||||
if (flag) creditsService.updateChangedCredits(String.valueOf(project.getAccountId()), taskId);
|
results.add(new MagicToolResultVO(taskId, fluxResult));
|
||||||
|
// results.add(processFluxResult(fluxResult, toProductImageResult, taskId, toProductImageRecord.getPrompt()));
|
||||||
|
// // 扣积分
|
||||||
|
// Boolean flag = creditsService.taskCreditsDeduction(project.getAccountId(), taskId);
|
||||||
|
// if (flag) creditsService.updateChangedCredits(String.valueOf(project.getAccountId()), taskId);
|
||||||
}
|
}
|
||||||
// 将积分暂扣区的积分移除
|
// 将积分暂扣区的积分移除
|
||||||
if (toProductImageResult.getStatus().equals("Fail")) {
|
if (toProductImageResult.getStatus().equals("Fail")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user