dyllen
- dyllen 回答了问题 如何删除yii多余的i18n语言
主配置里面:'language' => 'zh-CN'
accets这个目录是放框架自动生成的资源的,自己的应该放在外面。
- dyllen 回复了话题 Yii2它的那个用户认证是不是有问题啊?
$articles = BlogCategory::find()->asArray() ->select( 'p.pid,p.title,p.content,p.hits,p.create_time,c.`name` category, c.cid, c.alias' ) >from(['blog_post p']) ->join('JOIN', ['blog_category c'], 'p.cid=c.cid') ->where(['c.cid' => $all]) //$all是数组 ->orderBy('p.create_time DESC') ->offset($pages->offset) ->limit($pages->limit) ->createCommand()->query();
- dyllen 发表了说说我的问题没人答啊!