|
@@ -75,7 +75,6 @@ class Sms_customer_list_adminAction extends Action{
|
|
|
require_once (ONU_ROOT . "frame/Page.class.php");
|
|
|
|
|
|
$admin = new AdvertAdminAction();
|
|
|
- $uid = $_SESSION['user_infos']['id'];
|
|
|
|
|
|
$info = $_REQUEST['info'];
|
|
|
|
|
@@ -86,7 +85,7 @@ class Sms_customer_list_adminAction extends Action{
|
|
|
$pa = "";//查询参数
|
|
|
$pa='&pagesize='.$pageSize;
|
|
|
$limit = " $n,$pageSize";
|
|
|
- $where = " where uid='$uid' ";
|
|
|
+ $where = " where 1=1 ";
|
|
|
|
|
|
$tel = trim($_REQUEST['tel']);
|
|
|
if(!empty($tel)) {
|
|
@@ -264,7 +263,7 @@ class Sms_customer_list_adminAction extends Action{
|
|
|
|
|
|
unset($excel_array[0]);//若第一排的数据是字段名的话,删除
|
|
|
header("Content-type: text/html; charset=utf-8");
|
|
|
- $blackList = $admin->selectSmsBlackList($uid);
|
|
|
+ $blackList = $admin->selectSmsBlackList();
|
|
|
$blackListArr = array_column($blackList, 'tel');
|
|
|
$values = '';
|
|
|
foreach($excel_array as $array){
|
|
@@ -299,7 +298,7 @@ class Sms_customer_list_adminAction extends Action{
|
|
|
public function importBlackList(){
|
|
|
|
|
|
$admin = new AdvertAdminAction();
|
|
|
- $uid = $_SESSION['user_infos']['id'];
|
|
|
+ $uid = 99;
|
|
|
|
|
|
if($_POST['to_import_user']=='yes'){
|
|
|
$filename = $_FILES['inputExcel']['name'];
|