2020-01-12更新 增加api接口文档注释生成开关 以及文件头部注释开关

在config/my.php配置 如下  默认都为true 如果不配置的情况下

'comment'=>[
	'api_comment'=>false,	//api接口详细注释 true生成 false不生成  
	'file_comment'=>true,	//文件头部注释  true生成 false不生成
	'author'=>'寒塘冷月',
	'contact'=>'qq:274363574',
],

5e1c1dd527cf8.jpg


生成的文件头部注释如下  如果关闭 file_comment 则不会生成

5e1c1e37936a5.jpg



同理如果关闭api_comment 则生成api接口如下  没有详细的注释

5e1c1ed262b04.jpg