<?php// +----------------------------------------------------------------------// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]// +----------------------------------------------------------------------// | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.// +----------------------------------------------------------------------// | Author: Dean <zxxjjforever@163.com>// +----------------------------------------------------------------------namespaceplugins\demo\model;//Demo插件英文名,改成你的插件英文就行了usethink\Model;//Demo插件英文名,改成你的插件英文就行了,插件数据表最好加个plugin前缀再加表名,这个类就是对应“表前缀+plugin_demo”表classPluginDemoModelextendsModel{//自定义方法functiontest(){echo"hello";}}