摘要: 第一,原始方法 use think\Model; 使用use $user=news User() 缺点,使用一个都要引入在实例化 第二,依赖注入 也要引入use use think\Request; public function test1(Request $request){ var_dump( 阅读全文
posted @ 2023-02-13 00:20 学无边涯 阅读(96) 评论(0) 推荐(0) 编辑