督促完成需求收集和交易任务的金额计算特殊处理
This commit is contained in:
parent
8434a24bd6
commit
5b0fb32c67
@ -383,7 +383,21 @@ class TaskLogic extends BaseLogic
|
|||||||
// 第三阶段金额
|
// 第三阶段金额
|
||||||
return $tempalte['new_money_three'];
|
return $tempalte['new_money_three'];
|
||||||
}
|
}
|
||||||
} elseif ($tempalte['types'] == 2) { // 长期任务
|
} elseif ($tempalte['types'] == 2) {
|
||||||
|
// 长期任务
|
||||||
|
|
||||||
|
// 督促完成需求收集和交易任务 第二个阶段即长期
|
||||||
|
$townTaskTypeList = DictData::where(['type_value' => 'town_task_type', 'status' => 1])->column('value', 'id');
|
||||||
|
if ($townTaskTypeList[$tempalte['type'] === 'town_task_type_5']) {
|
||||||
|
if ($v_day_count<= $stageDayOneAccumulative) {
|
||||||
|
// 第一阶段金额
|
||||||
|
return $tempalte['money'];
|
||||||
|
} elseif ( $v_day_count > $stageDayOneAccumulative) {
|
||||||
|
// 长期金额
|
||||||
|
return $tempalte['money_three'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($v_day_count<= $stageDayOneAccumulative) {
|
if ($v_day_count<= $stageDayOneAccumulative) {
|
||||||
// 第一阶段金额
|
// 第一阶段金额
|
||||||
return $tempalte['money'];
|
return $tempalte['money'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user