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