
yii
shaonian1996
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
yii2—控制器之resquest,response,session,cookie
一 控制器访问 http://127.0.0.1/yii/web/index.php?r=hello/index <?php namespace app\controllers; use yii\web\Controller; class HelloController extends Controller { public function actionInd...原创 2019-02-01 11:49:38 · 788 阅读 · 0 评论 -
yii2—数据模型
单表查询 配置config\db.php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=test', 'username' => 'root', 'password' => '12345...原创 2019-02-01 11:55:25 · 391 阅读 · 0 评论