对账系统

master
liuweiwen 5 years ago
parent f36202486d
commit 57a1d8ed8c

@ -107,7 +107,7 @@ class PublicController extends \Think\Controller
}
$uid = $promote['id'];
} else {
$partner = M('partner', 'tab_')->where(['link_man' => $mobile,])->find();
$partner = M('partner', 'tab_')->where(['link_phone' => $mobile,])->find();
if ($partner) {
/* 记录登录SESSION和COOKIES */
$cp_auth = array(
@ -131,7 +131,7 @@ class PublicController extends \Think\Controller
session($session_name.'_sign', data_auth_sign($cp_auth));
}
$uid = $promote['id'];
$uid = $partner['id'];
}
}

Binary file not shown.
Loading…
Cancel
Save