Skip to content

文档与文档之间居然没办法交换位置吗? #20

@zcw-shio

Description

@zcw-shio

$position = $request->post('target')['position'];
$targetChapter = ChapterLogic::instance()->getById($request->post('target')['chapter_id']);
if ($targetChapter && ($targetChapter->is_dir != Chapter::IS_DIR)) {
//移动对象不是目录
throw new ErrorHttpException('只能移动到目录下面');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions