|
@@ -171,6 +171,13 @@ class AdvertAdminAction extends BaseAction{
|
|
$result = $this->getDbEntity()->query($sql);
|
|
$result = $this->getDbEntity()->query($sql);
|
|
return $result;
|
|
return $result;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public function exportBlackList() {
|
|
|
|
+ $sql = "select uname, tel, country, group_name from ly_sms_customer where is_block=1 order by id desc ";
|
|
|
|
+ $result = $this->getDbEntity()->query($sql);
|
|
|
|
+ return $result;
|
|
|
|
+ }
|
|
|
|
+
|
|
//查询UID下所有客户Email
|
|
//查询UID下所有客户Email
|
|
public function selesctCustomerByUid($uid){
|
|
public function selesctCustomerByUid($uid){
|
|
$sql = "select email from ly_customer where 1=1 and uid = $uid ";
|
|
$sql = "select email from ly_customer where 1=1 and uid = $uid ";
|