コード例 #1
0
ファイル: notice.action.php プロジェクト: ohjack/newErp
 public static function act_delEmail()
 {
     if (!empty($_GET['idArr'])) {
         $idStr = implode(",", $_GET['idArr']);
         $where = ' and id in (' . $idStr . ')';
         $data["is_delete"] = 1;
         $result = NoticeModel::update($data, $where, 'nt_email');
         if ($result) {
             self::$errCode = "001";
             self::$errMsg = "删除成功";
             return $result;
         }
         self::$errCode = "066";
         self::$errMsg = "删除失败";
     }
 }