setup 是围绕 beforeCreate 和 created 生命周期钩子运行的,所以不需要显示的定义它们。其他的钩子都可以编写到 setup 内。
栏目 织梦 mysql语法 调用 dedecms建站 DeepSeek php语法 SEO优化 CMS网站 id