mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
【程序目录】优化代码
This commit is contained in:
parent
8ba11b1f18
commit
45fa0520bd
@ -200,7 +200,7 @@ class AgentLevelServices extends BaseServices
|
||||
$finish_task = $levelTaskRecordServices->count(['level_id' => $levelInfo['id'], 'uid' => $uid, 'task_id' => $ids]);
|
||||
//任务完成升这一等级
|
||||
if ($finish_task >= count($task_list)) {
|
||||
$userServices->update($uid, ['agent_level' => $levelInfo['grade']]);
|
||||
$userServices->update($uid, ['agent_level' => $levelInfo['id']]);
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user