public function getCustom() { return $this->hasOne(Custom::className(), ['mobile' => 'mobile']); }
public function getCustomer() { return $this->hasOne(Custom::className(), ['mobile' => 'mobile'])->viaTable('wx_openid_bind_mobile', ['gh_id' => 'gh_id', 'openid' => 'openid']); }