摘要:
public function getMember1(){ return $this->hasOne(Member::className(), ['wechat_id' =>'toid']); } public function getMember2(){ return $this->hasOne( 阅读全文
摘要:
数据库如下: /* Navicat MySQL Data Transfer Source Server : localhost Source Server Version : 50553 Source Host : localhost:3306 Source Database : oauth2 Ta 阅读全文