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