|
@@ -447,11 +447,8 @@ class Sms_customer_list_adminAction extends Action{
|
|
|
header("Content-type: text/html; charset=utf-8");
|
|
|
$telsArr = array();
|
|
|
foreach($excel_array as $array){
|
|
|
- if(!empty($array[2])){
|
|
|
- $uname = str_replace("'", '', $array[0]);
|
|
|
- $tel = trim($array[1]);
|
|
|
- $country = trim($array[2]);
|
|
|
- $groupName = trim($array[3]);
|
|
|
+ if(!empty($array[0])){
|
|
|
+ $tel = trim($array[0]);
|
|
|
|
|
|
$telsArr[] = $tel;
|
|
|
|
|
@@ -460,7 +457,7 @@ class Sms_customer_list_adminAction extends Action{
|
|
|
}
|
|
|
if($telsArr) {
|
|
|
$telsStr = implode(',', $telsArr);
|
|
|
- $result = $admin->deleteSmsCustomerByExcel($telsStr, $uid);
|
|
|
+ $result = $admin->deleteSmsCustomerByTel($telsStr, $uid);
|
|
|
$info = '删除数据成功';
|
|
|
}
|
|
|
}
|