代码文件注释版权范例
/**
@if ('%{CurrentProject:Name}' !== '')
** This file is part of the %{CurrentProject:Name} project.
** Copyright (C) xxx Technology Co., Ltd.
** All Rights Reserved.
** Unauthorized copying of this file, via any medium is strictly prohibited
** Proprietary and confidential
**
@endif
@if ('%{Env:QTC_COPYRIGHT_USER}' === '' || '%{Env:QTC_COPYRIGHT_EMAIL}' === '')
** Copyright %{CurrentDate:yyyy-MM-dd} $username$ <$123456@qq.com$>.
@else
** Copyright %{CurrentDate:yyyy} %{Env:QTC_COPYRIGHT_USER} <%{Env:QTC_COPYRIGHT_EMAIL}>.
@endif
** All rights reserved.
**/
$$
示例:
/**
** This file is part of the App project.
** Copyright © xxx Technology Co., Ltd.
** All Rights Reserved.
** Unauthorized copying of this file, via any medium is strictly prohibited
** Proprietary and confidential
**
** Copyright 2020-06-03 username 123456@qq.com.
** All rights reserved.
**/