代码文件注释版权范例

代码文件注释版权范例

/**
@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$ <[email protected]$>.
@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 [email protected].
** All rights reserved.
**/

你可能感兴趣的:(常见问题解决记录)