当前位置: 首页 > news >正文

apidoc thinkphp likeadmin 遇到解析报错

报错: 

[Semantical Error] The annotation "@notes" in method app\adminapi\controller\article\ArticleCateController::lists() was never imported. Did you maybe forget to add a "use" statement for this annotation?

解决办法: 

config/apidoc.php 按如下修改

/*** (选配)解析时忽略带@注解的关键词,当注解中存在带@字符并且非Apidoc注解,如 @key test,此时Apidoc页面报类似以下错误时:* [Semantical Error] The annotation "@key" in method xxx() was never imported. Did you maybe forget to add a "use" statement for this annotation?*/
'ignored_annitation'=>["notes","date"],
http://www.lryc.cn/news/522539.html

相关文章:

  • 第22篇 基于ARM A9处理器用汇编语言实现中断<四>
  • 重回C语言之老兵重装上阵(六)枚举
  • STL-list类
  • Hanlp的学习
  • Excel中函数SIGN()的用法
  • 如何将本地电脑上的文件夹设置为和服务器的共享文件夹
  • 智能建筑时代的核心选择——基于SAIL-RK3576核心板的AI边缘计算网关方案
  • 08、如何预防SQL注入
  • 【时时三省】(C语言基础)柔性数组
  • mongodb详解二:基础操作
  • 【数据分享】1929-2024年全球站点的逐月平均气温数据(Shp\Excel\免费获取)
  • 管理口令安全和资源(一)
  • 【Linux】【Vim】vim编辑器的用法
  • Golang Gin系列-3:Gin Framework的项目结构
  • LabVIEW实车四轮轮速信号再现系统
  • 2025.1.16——六、BabySQL 双写绕过|联合注入
  • Spring Boot 下的Swagger 3.0 与 Swagger 2.0 的详细对比
  • 【已解决】git clone报错:Failed to connect to github.com port 443: Timed out
  • Qt 程序 DPI 适配方法归纳
  • AI刷题-小R的随机播放顺序、不同整数的计数问题
  • windows 极速安装 Linux (Ubuntu)-- 无需虚拟机
  • 【影刀_常规任务计划_API调用】
  • 参数校验 Spring Validation框架
  • Spring Boot 基础入门指南
  • doc、pdf转markdown
  • 基于 HTML5 Canvas 制作一个精美的 2048 小游戏--day 1
  • 知识图谱入门(一)
  • springboot项目-基础数据回显
  • LabVIEW实现油浸式变压器自主监测与实时报告
  • K8S 亲和性与反亲和性 深度好文