Пример #1
0
 public function actionTodowillhandle()
 {
     $ownTodos = new OwnTodos();
     $result = $ownTodos->willHandle();
     $result = $this->TodoGetItWithOrder($result);
     if ($result) {
         $result = '{"success":true,"msg":"' . $result . '"}';
     } else {
         $result = '{"success":false,"msg":"没有任务"}';
     }
     echo $result;
 }
Пример #2
0
 public function actionTesttodo()
 {
     $owntodo = new OwnTodos();
     echo $owntodo->changeStatus(4, 4);
 }