1、实现效果调用控制中方法 2、创建控制器indexCrl.php
<?php
class indexCrl{public function index(){echo 当前index控制器index方法;}
} 3、KJ.php字段加载控制器文件 public static function run(){//定义常量self::_set_const();//创建模块目录self::_mk_module();…
路由进阶
路由模块的封装抽离 src/router/index.js import VueRouter from vue-router
// 用绝对路径的方式来写目录 相当于src
import Find from /views/Find
import Friend from ../views/Friend
import My from ../views/Myimport Vue from vue
Vue.use(VueRouter)con…
Mysql 8 版本 8.0.24
[rootVM-0-5-centos ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 128
Server version: 8.0.24 Source distribution部署在腾讯云服务器,本地电脑操作pyth…