|
@@ -196,7 +196,7 @@ class Base
|
|
|
public function combine($uid, $unionid, $col = 'unionid')
|
|
|
{
|
|
|
$cur = $uid;
|
|
|
- if ($col == 'mobile') {
|
|
|
+ if ($col == 'mobile' || $col == 'id') {
|
|
|
$user_wechat = Dever::load('passport/user-all', array($col => $unionid));
|
|
|
} else {
|
|
|
$user_wechat = Dever::load('passport/wechat-state', array($col => $unionid));
|
|
@@ -224,7 +224,13 @@ class Base
|
|
|
$drop[$v['uid']] = $v['uid'];
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ }
|
|
|
+
|
|
|
+ $test = Dever::input('test');
|
|
|
+
|
|
|
+ if ($test == 1) {
|
|
|
+ print_r($cur);
|
|
|
+ print_r($drop);die;
|
|
|
}
|
|
|
if ($drop) {
|
|
|
foreach ($drop as $k => $v) {
|