|
|
@@ -486,6 +486,7 @@ class SystemUserTask extends BaseModel
|
|
|
@file_put_contents('quanju.txt', json_encode($task)."-第五步\r\n", 8);
|
|
|
if (!is_array($task)) return $task;
|
|
|
foreach ($task as &$item) {
|
|
|
+ @file_put_contents('quanju.txt', json_encode($item)."-这是什么东西\r\n", 8);
|
|
|
@file_put_contents('quanju.txt', UserTaskFinish::where('uid', $uid)->where('task_id', $item['id'])->count()."-这是什么\r\n", 8);
|
|
|
//如果已完成该任务进度直接为100
|
|
|
if (UserTaskFinish::where('uid', $uid)->where('task_id', $item['id'])->count()) {
|