This commit is contained in:
chenbo 2023-11-20 18:23:58 +08:00
parent a9b29f03e8
commit 959f7d642f
2 changed files with 2 additions and 2 deletions
app
api/controller
common/logic/task

@ -447,7 +447,7 @@ class TaskController extends BaseApiController
$stage = $parmas['stage']; // 当前做的是任务第几阶段
if ($stage == 1) {
$extend['stage1'] = $parmas['stage1'];
$parmas['stage1']['is_commit'] = 1;
$extend['stage1']['is_commit'] = 1;
}
if ($stage == 2) {
$extend['stage2'] = $parmas['stage2'];

@ -2132,7 +2132,7 @@ class TaskLogic extends BaseLogic
return 0;
}
$taskMoney = 0;
if ($tradeAmount >= 100000) {
if ($tradeAmount >= $targetProcureAmount) {
$taskMoney = $totalMoney;
} else {
// 计算结算金额 周期天数*(money/目标数)*实际完成率*对应发放比例