...
|
...
|
@@ -90,14 +90,10 @@ class OpenServerController extends HomeBaseController |
|
|
case 'SCAN':
|
|
|
//获取用户openid
|
|
|
$openid=$message->FromUserName;
|
|
|
cache('openid',$openid);
|
|
|
$param=substr($message->EventKey,8);
|
|
|
cache('param',$message->EventKey);
|
|
|
$param=$message->EventKey;
|
|
|
$data = explode("-",$param);
|
|
|
$my_user_id = $data[0];
|
|
|
$status = $data[1];
|
|
|
cache('b',$my_user_id);
|
|
|
cache('c',$status);
|
|
|
$third_party_user = Db::name('third_party_user')->where('openid',$openid)->find();
|
|
|
if(!$third_party_user){
|
|
|
//获取用户信息
|
...
|
...
|
|