src/Biz/Testpaper/Service/TestpaperService.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php

namespace Biz\Testpaper\Service;

use Biz\Testpaper\Builder\TestpaperBuilder;
use Biz\System\Annotation\Log;

interface TestpaperService
{
    public function getTestpaper($id);

    public function getTestpaperByIdAndType($id, $type);

    public function findTestpapersByIdsAndType($ids, $type);

    /**
     * @param $fields
     *
     * @return mixed
     * @Log(module="course",action="add_testpaper")
     */
    public function createTestpaper($fields);

    public function batchCreateTestpaper($testpapers);

    public function updateTestpaper($id, $fields);

    /**
     * @param $id
     * @param bool $quietly
     *
     * @return mixed
     * @Log(module="course",action="delete_testpaper")
     */
    public function deleteTestpaper($id, $quietly = false);

    public function deleteTestpapers($ids);

    public function findTestpapersByIds($ids);

    public function getTestpaperByCopyIdAndCourseSetId($copyId, $courseSetId);

    public function searchTestpapers($conditions, $sort, $start, $limit);

    public function searchTestpaperCount($conditions);

    public function publishTestpaper($id);

    public function closeTestpaper($id);

    /**
     * testpaper_item.
     */
    public function getItem($id);

    public function createItem($fields);

    public function batchCreateItems($items);

    public function updateItem($id, $fields);

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。