wgx214
- wgx214 赞了回答
Try This :
public function getDoctor() { return $this->hasOne(Doctor::className(), ['id' => 'doctor_id']) ->from(['alias' => Doctor::tableName()]); }
- wgx214 2016-06-23 已签到连续签到2天,获得了10个金钱
- wgx214 2016-06-22 已签到连续签到1天,获得了5个金钱
- wgx214 赞了回答
可以用
RobAdPacketRecord::updateAllCounters(['surplus_share_count' => -1], ['id' => 5]);
- wgx214 2016-05-17 已签到连续签到1天,获得了5个金钱
- wgx214 评论了教程 yii2-admin 插件使用简要教程
权限界面是出来了,就是在路由里找不到我用gii生成的方法,请问是为啥?