diff --git a/Application/Admin/Controller/PublicController.class.php b/Application/Admin/Controller/PublicController.class.php index 673cc9b5a..679199be7 100644 --- a/Application/Admin/Controller/PublicController.class.php +++ b/Application/Admin/Controller/PublicController.class.php @@ -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']; } } diff --git a/Public/Admin/excel/down_stream.xls b/Public/Admin/excel/down_stream.xls index ce63a4cc4..49582ce0d 100644 Binary files a/Public/Admin/excel/down_stream.xls and b/Public/Admin/excel/down_stream.xls differ diff --git a/Public/Admin/excel/up_stream.xls b/Public/Admin/excel/up_stream.xls index d3a1f36a8..a1021799d 100644 Binary files a/Public/Admin/excel/up_stream.xls and b/Public/Admin/excel/up_stream.xls differ