ssm+shiro創(chuàng)建項目+配置文件+小案例

1.導入jar包

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>jxlv</groupId>
<artifactId>udpf</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>jiangXi LianWei Unified development platform Maven Webapp</name>
<url>http://maven.apache.org</url>
<properties>
  <java-version>1.8</java-version>
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  <spring-version>4.2.5.RELEASE</spring-version>
  <org.springframework-version>3.2.8.RELEASE</org.springframework-version>
  <org.aspectj-version>1.6.10</org.aspectj-version>
  <org.slf4j-version>1.6.6</org.slf4j-version>
  <!-- mybatis版本號 -->
  <mybatis.version>3.2.6</mybatis.version>
  <!-- Apache shiro -->
  <shiro.version>1.2.5</shiro.version>
</properties>
<dependencies>
  <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.11</version>
    <scope>test</scope>
  </dependency>

  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-core</artifactId>
    <version>${spring-version}</version>
  </dependency>

  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-test</artifactId>
    <version>${spring-version}</version>
  </dependency>

  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context</artifactId>
    <version>${spring-version}</version>
  </dependency>

  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-tx</artifactId>
    <version>${spring-version}</version>
  </dependency>

  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context-support</artifactId>
    <version>${spring-version}</version>
  </dependency>


  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-jdbc</artifactId>
    <version>${spring-version}</version>
  </dependency>

  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-aop</artifactId>
    <version>${spring-version}</version>
  </dependency>

  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-beans</artifactId>
    <version>${spring-version}</version>
  </dependency>
  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-webmvc</artifactId>
    <version>${org.springframework-version}</version>
  </dependency>
  <!-- mybatis核心包 -->
  <dependency>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis</artifactId>
    <version>${mybatis.version}</version>
  </dependency>
  <!-- mybatis/spring包 -->
  <dependency>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis-spring</artifactId>
    <version>1.2.2</version>
  </dependency>
  <!-- 導入java ee jar 包 -->
  <dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>7.0</version>
  </dependency>
  <!-- 導入Mysql數(shù)據(jù)庫鏈接jar包 -->
  <dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>5.1.21</version>
  </dependency>
  <!-- 導入Oracle數(shù)據(jù)庫鏈接jar包 -->
  <!--<dependency>-->
  <!--<groupId>com.oracle</groupId>-->
  <!--<artifactId>ojdbc6</artifactId>-->
  <!--<version>10.2.0.1.0</version>-->
  <!--</dependency>-->
  <!-- https://mvnrepository.com/artifact/cglib/cglib -->
  <dependency>
    <groupId>cglib</groupId>
    <artifactId>cglib</artifactId>
    <version>3.2.5</version>
  </dependency>

  <!-- 阿里巴巴數(shù)據(jù)鏈接池-->
  <dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>druid</artifactId>
    <version>1.0.18</version>
  </dependency>
  <!-- 導入dbcp的jar包,用來在applicationContext.xml中配置數(shù)據(jù)庫 -->
  <dependency>
    <groupId>commons-dbcp</groupId>
    <artifactId>commons-dbcp</artifactId>
    <version>1.2.2</version>
  </dependency>

  <!-- Logging -->
  <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>${org.slf4j-version}</version>
  </dependency>

  <dependency>
    <groupId>commons-lang</groupId>
    <artifactId>commons-lang</artifactId>
    <version>2.6</version>
  </dependency>

  <dependency>
    <groupId>commons-logging</groupId>
    <artifactId>commons-logging</artifactId>
    <version>1.1.1</version>
  </dependency>

  <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-validator</artifactId>
    <version>5.2.4.Final</version>
  </dependency>


  <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>jcl-over-slf4j</artifactId>
    <version>${org.slf4j-version}</version>
    <scope>runtime</scope>
  </dependency>
  <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-log4j12</artifactId>
    <version>${org.slf4j-version}</version>
    <scope>runtime</scope>
  </dependency>
  <dependency>
    <groupId>log4j</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.17</version>
  </dependency>
  <!-- @Inject -->
  <dependency>
    <groupId>javax.inject</groupId>
    <artifactId>javax.inject</artifactId>
    <version>1</version>
  </dependency>
  <!-- Servlet -->
  <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>servlet-api</artifactId>
    <version>2.5</version>
    <scope>provided</scope>
  </dependency>
  <dependency>
    <groupId>javax.servlet.jsp</groupId>
    <artifactId>jsp-api</artifactId>
    <version>2.1</version>
    <scope>provided</scope>
  </dependency>
  <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>jstl</artifactId>
    <version>1.2</version>
  </dependency>

  <!-- json包-->
  <dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>fastjson</artifactId>
    <version>1.2.31</version>
  </dependency>

  <dependency>
    <groupId>org.json</groupId>
    <artifactId>json</artifactId>
    <version>20140107</version>
  </dependency>
  <!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
  <dependency>
    <groupId>org.aspectj</groupId>
    <artifactId>aspectjweaver</artifactId>
    <version>1.8.10</version>
  </dependency>

  <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper -->
  <dependency>
    <groupId>com.github.pagehelper</groupId>
    <artifactId>pagehelper</artifactId>
    <version>5.0.1</version>
  </dependency>

  <!-- https://mvnrepository.com/artifact/org.freemarker/freemarker -->
  <dependency>
    <groupId>org.freemarker</groupId>
    <artifactId>freemarker</artifactId>
    <version>2.3.26-incubating</version>
  </dependency>
  <!--Excel的POI操作-->
  <dependency>
    <groupId>org.apache.poi</groupId>
    <artifactId>poi-ooxml</artifactId>
    <version>3.9</version>
  </dependency>
  <!--文件上傳組件-->
  <dependency>
    <groupId>commons-fileupload</groupId>
    <artifactId>commons-fileupload</artifactId>
    <version>1.3.1</version>
  </dependency>

  <dependency>
    <groupId>commons-io</groupId>
    <artifactId>commons-io</artifactId>
    <version>2.4</version>
  </dependency>

  <dependency>
    <groupId>commons-codec</groupId>
    <artifactId>commons-codec</artifactId>
    <version>1.9</version>
  </dependency>

  <dependency>
    <groupId>org.codehaus.jackson</groupId>
    <artifactId>jackson-mapper-asl</artifactId>
    <version>1.9.4</version>
  </dependency>
  <!--shiro包導入-->
  <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-core -->
  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-core</artifactId>
    <version>1.4.0</version>
  </dependency>

  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-web</artifactId>
    <version>1.4.0</version>
  </dependency>
  <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-lang -->
  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-lang</artifactId>
    <version>1.4.0</version>
  </dependency>
  <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-cache -->
  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-cache</artifactId>
    <version>1.4.0</version>
  </dependency>

  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-ehcache</artifactId>
    <version>1.4.0</version>
  </dependency>

  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-spring</artifactId>
    <version>1.4.0</version>
  </dependency>

  <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-crypto-hash -->
  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-crypto-hash</artifactId>
    <version>1.4.0</version>
  </dependency>
  <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-crypto-cipher -->
  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-crypto-cipher</artifactId>
    <version>1.4.0</version>
  </dependency>
  <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-config-core -->
  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-config-core</artifactId>
    <version>1.4.0</version>
  </dependency>

  <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-config-ogdl -->
  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-config-ogdl</artifactId>
    <version>1.4.0</version>
  </dependency>
  <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-event -->
  <dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-event</artifactId>
    <version>1.4.0</version>
  </dependency>

  <!-- redis begin -->
  <dependency>
    <groupId>redis.clients</groupId>
    <artifactId>jedis</artifactId>
    <version>2.8.0</version>
  </dependency>
  <!--阿里云短息服務-->
  <dependency>
    <groupId>com.aliyun</groupId>
    <artifactId>aliyun-java-sdk-core</artifactId>
    <version>4.1.0</version>
  </dependency>
  <!-- redis end -->
</dependencies>

<build>

  <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>${java-version}</source>
          <target>${java-version}</target>
          <encoding>UTF-8</encoding>
          <compilerArguments>
            <verbose/>
            <bootclasspath>${java.home}\jre\lib\rt.jar;${java.home}\jre\lib\jce.jar</bootclasspath>
          </compilerArguments>
        </configuration>
      </plugin>
    </plugins>
  </pluginManagement>

  <finalName>UnifiedDevelopmenPlatform</finalName>
  <resources>
    <resource>
      <directory>${basedir}/src/main/java</directory>
      <includes>
        <include>**/*.properties</include>
        <include>**/*.xml</include>
      </includes>
    </resource>
    <resource>
      <directory>${basedir}/src/main/resources</directory>
    </resource>
  </resources>
</build>
</project>

2.配置在web.xml里配置filter

  <filter>
    <filter-name>shiroFilter</filter-name>
    <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
    <init-param>
      <param-name>targetFilterLifecycle</param-name>
      <param-value>true</param-value>
    </init-param>
  </filter>
  <filter-mapping>
    <filter-name>shiroFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

這里的<filter-name>shiroFilter</filter-name>中的shiroFilter必須跟shiro配置文件中的真實的filter bean id一致
3.創(chuàng)建shiro配置文件spring_shiro.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:mvc="http://www.springframework.org/schema/mvc"
         xmlns:context="http://www.springframework.org/schema/context"
         xmlns:aop="http://www.springframework.org/schema/aop"
         xsi:schemaLocation="http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans.xsd
       http://www.springframework.org/schema/mvc
       http://www.springframework.org/schema/mvc/spring-mvc.xsd
       http://www.springframework.org/schema/context
       http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">
    <!--<bean-->
            <!--class="org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator"-->
            <!--depends-on="lifecycleBeanPostProcessor" />-->
     <!--&lt;!&ndash;配置自定義的realm&ndash;&gt;-->
       <bean id="UserRealm" class="shiro.UserRealm"></bean>
     <!--配置安全管理器Securitymanager-->
     <bean id="securityManager" class="org.apache.shiro.web.mgt.DefaultWebSecurityManager">
         <property name="realm" ref="UserRealm"/>
     </bean>
    <!--自定義shiroFilter-->
     <bean id="shiroFilter" class="org.apache.shiro.spring.web.ShiroFilterFactoryBean">
         <property name="securityManager" ref="securityManager"/>
         <property name="loginUrl" value="/login"/>
         <property name="unauthorizedUrl" value="/nopermission.jsp"/>
         <property name="filterChainDefinitions">
             <value>
                 /**=authc
             </value>
         </property>
     </bean>
    <!--開啟aop對類代理-->
    <aop:config expose-proxy="true"></aop:config>
    <!--開啟shiro注解支持-->
    <bean class="org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor">
        <property name="securityManager" ref="securityManager"/>
    </bean>
    <!--定義需要特殊處理的異常,用類名或完全路徑名作為key,異常頁名作為value-->
    <!--shiro權限異常處理-->
    <bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
        <property name="exceptionMappings">
            <props>
                <prop key="org.apache.shiro.authz.UnauthorizedException">redirect:/nopermission.jsp</prop>
            </props>
        </property>
    </bean>
</beans>

3.創(chuàng)建認證,授權令牌

package shiro;
import csd.entity.User;
import csd.service.UserService;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.SimpleAuthenticationInfo;
import org.apache.shiro.authz.AuthorizationInfo;
import org.apache.shiro.authz.SimpleAuthorizationInfo;
import org.apache.shiro.realm.AuthorizingRealm;
import org.apache.shiro.subject.PrincipalCollection;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

public class UserRealm extends AuthorizingRealm {
    public UserRealm() {
        System.out.println("實例化了令牌");
    }

    public String getName() {
        return "UserRealm";
    }
    @Resource(name = "Iuser")
    private UserService userService;
    //授權操作
    protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principalCollection) {
        System.out.println("授權進行中");
        User user = (User)principalCollection.getPrimaryPrincipal();
        List<String> permissions = new ArrayList<String>();
        if ("10086".equals(user.getUsername())) {
            permissions.add("employee:edit");
        } else if ("admin".equals(user.getUsername())) {
            permissions.add("*:*");
        }
        SimpleAuthorizationInfo info = new SimpleAuthorizationInfo();
        info.addStringPermissions(permissions);
        return info;
    }

    //認證操作
    protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken authenticationToken) throws AuthenticationException {
        System.out.println("認證進行中");
        String username=(String) authenticationToken.getPrincipal();
        //System.out.println("令牌的username為"+username);
        User user = userService.login(username);
        if (user == null){
            return null;
        }
        AuthenticationInfo info = new SimpleAuthenticationInfo(user, user.getPassword(), getName());
        return info;
    }
}

4.需要準備的資源


頁面.PNG
資源.PNG

5.controller層的編寫

package csd.controller;


import csd.entity.User;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.UnknownAccountException;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

@Controller
public class LoginController {
    @RequestMapping(value = "/login",method= RequestMethod.GET)
    public String login(Model model, HttpServletRequest req, User user)throws Exception{
        System.out.println("進入了login方法");
        System.out.println("用戶名加密碼"+user.getUsername()+","+user.getPassword());
        //如果認證失敗就從reques中獲取異常信息,shiroLoginFailure是shiro異常類的權限命名
//        String exceptionClassName=(String)req.getAttribute("shiroLoginFailure");
//        if(exceptionClassName!=null){
//            if(UnknownAccountException.class.getName().equals(exceptionClassName)){
//                model.addAttribute("errorMsg","賬號不存在");
//                System.out.println("賬號不存在");
//            }else if(IncorrectCredentialsException.class.getName().equals(exceptionClassName)){
//                model.addAttribute("errorMsg","賬號或密碼錯誤");
//                System.out.println("賬號或密碼錯誤");
//            }else {
//                model.addAttribute("errorMsg","其他異常信息");
//            }
//        }
        if(user.getUsername()!=null&&user.getPassword()!=null) {
            Subject subject = SecurityUtils.getSubject();
            UsernamePasswordToken token = new UsernamePasswordToken(user.getUsername(), user.getPassword());
            try {
                //登錄,即身份校驗屈糊,由通過Spring注入的UserRealm會自動校驗輸入的用戶名和密碼在數(shù)據(jù)庫中是否有對應的值
                subject.login(token);
                return "main";
            } catch (Exception e) {
                e.printStackTrace();
                model.addAttribute("errorMsg", "賬號或密碼錯誤");
                return "forward:/login.jsp";
            }
        }else {
             return "forward:/login.jsp";
        }
    }
    @RequestMapping("/index")
    public String index(Model model, HttpServletRequest req)throws Exception{
        System.out.println("進入了login方法");
         return "forward:/login.jsp";
    }
}

package csd.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class MainController {
    @RequestMapping("/main")
    public String main(){
        System.out.println("進入了main");
        return "main";
    }
}

package csd.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/employee")
public class EmployeeController {
    @RequestMapping("/emp")
    public String index(){
         return "employee";
    }
    @RequestMapping("/del")
    @RequiresPermissions("employee:del")
    public String del(){
        System.out.println("執(zhí)行了員工的刪除操作");
        return "employee";
    }
    @RequestMapping("/add")
    @RequiresPermissions("employee:add")
    public String add(){
        System.out.println("執(zhí)行了員工的添加操作");
        return "employee";
    }
    @RequestMapping("/edit")
    @RequiresPermissions("employee:edit")
    public String edit(){
        System.out.println("執(zhí)行了員工的編輯操作");
        return "employee";
    }
    @RequestMapping("/select")
    @RequiresPermissions("employee:select")
    public String select(){
        System.out.println("執(zhí)行了員工的查詢操作");
        return "employee";
    }
}

6.頁面的準備
(1)login.jsp

<%--
  Created by IntelliJ IDEA.
  User: 聯(lián)想
  Date: 2019/6/30
  Time: 12:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<span>ee${errorMsg}</span>
<form action="/login" method="get">
    用戶名:<input type="text" name="username"><br>
    密碼:<input type="password" name="password"><br>
    <input type="submit" value="登錄">
</form>
</body>
</html>

(2).nopermission.jsp

<%--
  Created by IntelliJ IDEA.
  User: 聯(lián)想
  Date: 2019/6/30
  Time: 12:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
沒有權限
</body>
</html>

(3)main.jsp

<%--
  Created by IntelliJ IDEA.
  User: 聯(lián)想
  Date: 2019/6/30
  Time: 12:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>歡迎xx訪問</h1><br>
<p>注銷</p><p>重新加載權限</p><br>
<a href="/employee/emp">員工列表</a><br>
<a href="department.jsp">部門列表</a>
</body>
</html>

(4).employee.jsp

<%--
  Created by IntelliJ IDEA.
  User: 聯(lián)想
  Date: 2019/7/1
  Time: 18:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<p><a href="/employee/add">添加</a></p>
<p><a href="/employee/del">刪除</a></p>
<p><a href="/employee/edit">修改</a></p>
<p><a href="/employee/select">查詢</a></p>
</body>
</html>
?著作權歸作者所有,轉載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末舒岸,一起剝皮案震驚了整個濱河市茫蛹,隨后出現(xiàn)的幾起案子猖吴,更是在濱河造成了極大的恐慌憔恳,老刑警劉巖瓤荔,帶你破解...
    沈念sama閱讀 217,542評論 6 504
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異钥组,居然都是意外死亡输硝,警方通過查閱死者的電腦和手機,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,822評論 3 394
  • 文/潘曉璐 我一進店門程梦,熙熙樓的掌柜王于貴愁眉苦臉地迎上來点把,“玉大人,你說我怎么就攤上這事屿附∮湓粒” “怎么了?”我有些...
    開封第一講書人閱讀 163,912評論 0 354
  • 文/不壞的土叔 我叫張陵拿撩,是天一觀的道長衣厘。 經(jīng)常有香客問我,道長压恒,這世上最難降的妖魔是什么影暴? 我笑而不...
    開封第一講書人閱讀 58,449評論 1 293
  • 正文 為了忘掉前任,我火速辦了婚禮探赫,結果婚禮上型宙,老公的妹妹穿的比我還像新娘。我一直安慰自己伦吠,他們只是感情好妆兑,可當我...
    茶點故事閱讀 67,500評論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著毛仪,像睡著了一般搁嗓。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上箱靴,一...
    開封第一講書人閱讀 51,370評論 1 302
  • 那天腺逛,我揣著相機與錄音,去河邊找鬼衡怀。 笑死棍矛,一個胖子當著我的面吹牛安疗,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播够委,決...
    沈念sama閱讀 40,193評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼荐类,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了茁帽?” 一聲冷哼從身側響起玉罐,我...
    開封第一講書人閱讀 39,074評論 0 276
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎脐雪,沒想到半個月后,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體恢共,經(jīng)...
    沈念sama閱讀 45,505評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡战秋,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,722評論 3 335
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了讨韭。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片脂信。...
    茶點故事閱讀 39,841評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖透硝,靈堂內(nèi)的尸體忽然破棺而出狰闪,到底是詐尸還是另有隱情,我是刑警寧澤濒生,帶...
    沈念sama閱讀 35,569評論 5 345
  • 正文 年R本政府宣布埋泵,位于F島的核電站,受9級特大地震影響罪治,放射性物質(zhì)發(fā)生泄漏丽声。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 41,168評論 3 328
  • 文/蒙蒙 一觉义、第九天 我趴在偏房一處隱蔽的房頂上張望雁社。 院中可真熱鬧,春花似錦晒骇、人聲如沸霉撵。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,783評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽徒坡。三九已至,卻和暖如春瘤缩,著一層夾襖步出監(jiān)牢的瞬間崭参,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 32,918評論 1 269
  • 我被黑心中介騙來泰國打工款咖, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留何暮,地道東北人奄喂。 一個月前我還...
    沈念sama閱讀 47,962評論 2 370
  • 正文 我出身青樓,卻偏偏與公主長得像海洼,于是被迫代替她去往敵國和親跨新。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當晚...
    茶點故事閱讀 44,781評論 2 354

推薦閱讀更多精彩內(nèi)容