摘要: <?php namespace app\admin\Controller; use think\Request; use think\Controller; use think\Validate; Class Yz extends Controller{ public function text() 阅读全文
posted @ 2018-08-05 16:08 所爱隔山隔海 阅读(148) 评论(0) 推荐(0)
摘要: 如何链接数据库 有三种方式 1、配置文件定义 TP5\application\database.php // 数据库类型 'type' => 'mysql', // 服务器地址 'hostname' => '127.0.0.1', // 数据库名 'database' => 'ceshi', // 阅读全文
posted @ 2018-08-05 00:00 所爱隔山隔海 阅读(2277) 评论(0) 推荐(0)