thinkphp-social
thinkphp-social copied to clipboard
callback地址怎么加额外参数?
callback地址怎么加额外参数?
自己处理了:
在getRequestCodeURL里加个参数,如:getRequestCodeURL($paramArr = null) $this->config();下面增加: if(is_array($paramArr)) $this->Callback .='&'.http_build_query($paramArr);
//跳转到授权页面 $this->redirect($sns->getRequestCodeURL(['action'=>'bind']));