Spring MVC介紹(二)之 Spring MVC 執(zhí)行流程解析

spring.png

Spring MVC介紹(二)之 Spring MVC 執(zhí)行流程解析

一、MVC組件執(zhí)行流程

回顧一下MVC的體系結(jié)構(gòu)與組件執(zhí)行流程佃却,如下圖:

Spring MVC組件執(zhí)行流程.png
dispatcherServlet -> handlermapping ->基于url查找handler -> handlerAdapter
-> 基于handler找到adapter  -> 由adapter找到我們的 handler -> 執(zhí)行業(yè)務(wù)處理返回 modelAndView
-> viewResolver -> 基于viweName找到view -> 執(zhí)行視圖解析 -> 返回前端

再來看一個(gè)例子者吁,基于beanNameHandlerMapper的示例:

BeanNameControl.java

package com.demo.spring.mvc.control;

import org.springframework.web.HttpRequestHandler;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * com.demo.spring.mvc.control
 *
 * @author Zyy
 * @date 2019/2/24 15:34
 */
public class BeanNameControl implements HttpRequestHandler {
    @Override
    public void handleRequest(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException {
        httpServletResponse.getWriter().println("BeanName Control");
    }
}

spring-mvc_beanName.xml

<?xml version="1.0" encoding="GBK"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans.xsd
       http://www.springframework.org/schema/context
       http://www.springframework.org/schema/context/spring-context.xsd
       http://www.springframework.org/schema/mvc
       http://www.springframework.org/schema/mvc/spring-mvc.xsd">

    <bean id="/beanName" class="com.demo.spring.mvc.control.BeanNameControl"></bean>


</beans>

web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
         id="WebApp_ID" version="3.0">

    <display-name>spring-mvc</display-name>
    <servlet>
        <servlet-name>dispatcherServlet</servlet-name>
        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
        <init-param>
            <param-name>contextConfigLocation</param-name>
            <param-value>
                classpath:/spring-mvc_beanName.xml
            </param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>dispatcherServlet</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

    <welcome-file-list>
        <welcome-file>/index.jsp</welcome-file>
    </welcome-file-list>
</web-app>

此時(shí)啟動(dòng)容器,訪問 http://localhost:8080/spring_mvc/beanName 双霍,可以看到顯示的是我們control返回的數(shù)據(jù)砚偶。

BeanName Control

我們在此之前未配置HandlerMapping批销、HandlerAdapter、InternalResourceViewResolver染坯,為何還是能找到呢均芽?原因是因?yàn)閟pring有個(gè)默認(rèn)的配置:

路徑如下:

org\springframework\spring-webmvc\4.3.8.RELEASE\spring-webmvc-4.3.8.RELEASE.jar!\org\springframework\web\servlet\DispatcherServlet.properties

DispatcherServlet.properties

# Default implementation classes for DispatcherServlet's strategy interfaces.
# Used as fallback when no matching beans are found in the DispatcherServlet context.
# Not meant to be customized by application developers.

org.springframework.web.servlet.LocaleResolver=org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver

org.springframework.web.servlet.ThemeResolver=org.springframework.web.servlet.theme.FixedThemeResolver

org.springframework.web.servlet.HandlerMapping=org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,\
    org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping

org.springframework.web.servlet.HandlerAdapter=org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,\
    org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,\
    org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter

org.springframework.web.servlet.HandlerExceptionResolver=org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver,\
    org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver,\
    org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver

org.springframework.web.servlet.RequestToViewNameTranslator=org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator

org.springframework.web.servlet.ViewResolver=org.springframework.web.servlet.view.InternalResourceViewResolver

org.springframework.web.servlet.FlashMapManager=org.springframework.web.servlet.support.SessionFlashMapManager

在這里面可以看到:

BeanNameUrlHandlerMapping
HttpRequestHandlerAdapter
InternalResourceViewResolver

由此我們知道,spring有一套默認(rèn)的mvc處理實(shí)現(xiàn)单鹿。

二掀宋、HandlerMapping

HandlerMapping為mvc中url路徑與control對(duì)象的映射,dispatcherServlet就是基于handlerMapping組件來尋找對(duì)應(yīng)的control仲锄,找不到時(shí)會(huì)拋出異常 noHandlerFound異常劲妙。

HandlerMapping.java

package org.springframework.web.servlet;

import javax.servlet.http.HttpServletRequest;

public interface HandlerMapping {
    String PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE = HandlerMapping.class.getName() + ".pathWithinHandlerMapping";
    String BEST_MATCHING_PATTERN_ATTRIBUTE = HandlerMapping.class.getName() + ".bestMatchingPattern";
    String INTROSPECT_TYPE_LEVEL_MAPPING = HandlerMapping.class.getName() + ".introspectTypeLevelMapping";
    String URI_TEMPLATE_VARIABLES_ATTRIBUTE = HandlerMapping.class.getName() + ".uriTemplateVariables";
    String MATRIX_VARIABLES_ATTRIBUTE = HandlerMapping.class.getName() + ".matrixVariables";
    String PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE = HandlerMapping.class.getName() + ".producibleMediaTypes";

    HandlerExecutionChain getHandler(HttpServletRequest var1) throws Exception;
}

其實(shí)現(xiàn)類,如下:

handlerMapping實(shí)現(xiàn)類.png

目前大部分使用其中三種:

1儒喊、org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping

基于bean name查找镣奋,在xml以“/”開頭

<bean id="/beanName" class="com.demo.spring.mvc.control.BeanNameControl"></bean>

2、org.springframework.web.servlet.handler.SimpleUrlHandlerMapping

手動(dòng)在xml中配置url與control映射

<bean id="simple" class="com.demo.spring.mvc.control.SimpleControl"></bean>

<bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
    <property name="urlMap">
        <props>
            <prop key="/hello.do">simple</prop>
        </props>
    </property>
</bean>

3怀愧、org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping

基于@RequestMapping 注解侨颈,配置對(duì)應(yīng)映射

AnnotationControl.java

package com.demo.spring.mvc.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * com.demo.spring.mvc.control
 *
 * @author Zyy
 * @date 2019/2/24 16:35
 */
@Controller
@RequestMapping("/annotation")
public class AnnotationControl {

    @RequestMapping("/")
    public ModelAndView get() {
        //mapped to localhost:8080/spring_mvc/annotation/
        ModelAndView modelAndView = new ModelAndView("userView");
        modelAndView.addObject("name","this is /annotation/");
        return modelAndView;
    }
    @RequestMapping("/index")
    public ModelAndView index() {
        //mapped to localhost:8080/spring_mvc/annotation/index/
        ModelAndView modelAndView = new ModelAndView("userView");
        modelAndView.addObject("name","this is /annotation/index");
        return modelAndView;
    }
}

spring-mvc-annotation.xml

<?xml version="1.0" encoding="GBK"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans.xsd
       http://www.springframework.org/schema/context
       http://www.springframework.org/schema/context/spring-context.xsd
       http://www.springframework.org/schema/mvc
       http://www.springframework.org/schema/mvc/spring-mvc.xsd">

    <context:component-scan base-package="com.demo.spring.mvc.control" />

    <mvc:annotation-driven/>

    <!-- 視圖倉庫 -->
    <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
        <property name="prefix" value="/WEB-INF/page/" />
        <property name="suffix" value=".jsp" />
        <property name="viewClass" value="org.springframework.web.servlet.view.JstlView" />
    </bean>
</beans>

web.xml

classpath:/spring-mvc-annotation.xml

當(dāng)ioc中實(shí)例化這些類之后,dispatcherServlet就會(huì)通過org.springframework.web.servlet.DispatcherServlet#getHandler(HttpServletRequest request)方法基于request芯义,查找對(duì)應(yīng)的handler哈垢,這里就會(huì)用到的HandlerAdapter,根據(jù)handler的不用采用不同的handlerAdapter(適配器模式)扛拨。

三耘分、HandlerAdapter

Spring mvc采用適配器模式來適配調(diào)用指定的handler,根據(jù)handler的不同種類绑警,采用不同的Adapter求泰,其中handler與handlerAdapter對(duì)應(yīng)關(guān)系如下:

Handler類別 HandlerAdapter 描述
Control SimpleControllerHandlerAdapter 標(biāo)準(zhǔn)控制器,返回ModelAndView
HttpRequestHandler HttpRequestHandlerAdapter 業(yè)務(wù)自行處理請(qǐng)求待秃,不需要通過ModelAndView轉(zhuǎn)到視圖
Servlet SimpleServletHandlerAdapter 基于標(biāo)準(zhǔn)的Servlet處理
HandlerMethod RequestMappingHandlerAdapter 基于@RequestMapping對(duì)應(yīng)方法處理

HandlerAdapter.java

package org.springframework.web.servlet;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface HandlerAdapter {
    boolean supports(Object var1);

    ModelAndView handle(HttpServletRequest var1, HttpServletResponse var2, Object var3) throws Exception;

    long getLastModified(HttpServletRequest var1, Object var2);
}
HandlerAdapter 接口結(jié)構(gòu)圖.png

其中xml配置拜秧,例如:

<bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter"></bean>

當(dāng)ioc容器實(shí)例化配置的類之后,dispatcherServlet會(huì)通過org.springframework.web.servlet.DispatcherServlet#getHandlerAdapter來獲取HandlerAdapter章郁,如果找不到則拋出異常 No adapter for handler枉氮。

四、ViewResolver 與 View

找到對(duì)應(yīng)的Adapter之后暖庄,就會(huì)基于適配器調(diào)用業(yè)務(wù)處理聊替,處理完成之后,業(yè)務(wù)方法會(huì)返回一個(gè)ModelAndView培廓,接下來會(huì)去查找對(duì)應(yīng)的視圖進(jìn)行處理惹悄,dispatcherServlet會(huì)通過調(diào)用org.springframework.web.servlet.DispatcherServlet#resolveViewName,遍歷viewResolvers肩钠,然后根據(jù)viewName找到對(duì)應(yīng)的View泣港,如果找不到則拋出異常:
Could not resolve view with name暂殖。

ViewResolver viewResolver = (ViewResolver)var5.next();
view = viewResolver.resolveViewName(viewName, locale

ViewResolver.java

package org.springframework.web.servlet;

import java.util.Locale;

public interface ViewResolver {
    View resolveViewName(String var1, Locale var2) throws Exception;
}
ViewResolver 接口結(jié)構(gòu).png

View.java

package org.springframework.web.servlet;

import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface View {
    String RESPONSE_STATUS_ATTRIBUTE = View.class.getName() + ".responseStatus";
    String PATH_VARIABLES = View.class.getName() + ".pathVariables";
    String SELECTED_CONTENT_TYPE = View.class.getName() + ".selectedContentType";

    String getContentType();

    void render(Map<String, ?> var1, HttpServletRequest var2, HttpServletResponse var3) throws Exception;
}
View 接口結(jié)構(gòu)圖.png

ViewResolver調(diào)用resolveViewName方法來獲取對(duì)應(yīng)的view,然后解析生成對(duì)應(yīng)的html当纱,然后返回前臺(tái)呛每。

五、HandlerExceptionResolver

當(dāng)出現(xiàn)異常時(shí)坡氯,dispatcherServlet會(huì)調(diào)用org.springframework.web.servlet.DispatcherServlet#processHandlerException方法晨横,遍歷handlerExceptionResolvers,然后進(jìn)行異常處理箫柳,處理完成之后返回errorView跳轉(zhuǎn)到我們的異常視圖進(jìn)行顯示手形。

HandlerExceptionResolver.java

package org.springframework.web.servlet;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface HandlerExceptionResolver {
    ModelAndView resolveException(HttpServletRequest var1, HttpServletResponse var2, Object var3, Exception var4);
}
HandlerExceptionResovler 接口結(jié)構(gòu)圖.png

示例代碼:

SimpleExceptionHandler.java

package com.demo.spring.mvc.control;

import org.springframework.web.servlet.HandlerExceptionResolver;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * com.demo.spring.mvc.control
 *
 * @author Zyy
 * @date 2019/2/24 17:41
 */
public class SimpleExceptionHandler implements HandlerExceptionResolver {
    @Override
    public ModelAndView resolveException(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) {
        return new ModelAndView("error");
    }
}

spring-mvc.xml

<!-- 自定義異常處理器 -->
<bean class="com.demo.spring.mvc.control.SimpleExceptionHandler"/>

web.xml

classpath:/spring-mvc-interceptors.xml

六、HandlerInterceptor

除了異常處理之外悯恍,spring mvc還引入了攔截器interceptor機(jī)制库糠,類似Filter。

HandlerInterceptor.java

package org.springframework.web.servlet;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface HandlerInterceptor {
    boolean preHandle(HttpServletRequest var1, HttpServletResponse var2, Object var3) throws Exception;

    void postHandle(HttpServletRequest var1, HttpServletResponse var2, Object var3, ModelAndView var4) throws Exception;

    void afterCompletion(HttpServletRequest var1, HttpServletResponse var2, Object var3, Exception var4) throws Exception;
}
HandlerInterceptor 接口結(jié)構(gòu)圖.png

示例代碼:

SimpleHandlerInterceptor.java

package com.demo.spring.mvc.control;

import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * com.demo.spring.mvc.control
 *
 * @author Zyy
 * @date 2019/2/19 22:59
 */
public class SimpleHandlerInterceptor implements HandlerInterceptor {
    @Override
    public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) throws Exception {
        System.out.println("preHandle...");
        return true;
    }

    @Override
    public void postHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, ModelAndView modelAndView) throws Exception {
        System.out.println("postHandle...");
    }

    @Override
    public void afterCompletion(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) throws Exception {
        System.out.println("afterCompletion...");
    }
}

spring-mvc.xml

<?xml version="1.0" encoding="GBK"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans.xsd
       http://www.springframework.org/schema/context
       http://www.springframework.org/schema/context/spring-context.xsd
       http://www.springframework.org/schema/mvc
       http://www.springframework.org/schema/mvc/spring-mvc.xsd">
    <!--控制器-->
    <bean id="simpleControl" class="com.demo.spring.mvc.control.SimpleControl"/>
    <bean id="handlerInterceptor" class="com.demo.spring.mvc.control.SimpleHandlerInterceptor"></bean>
    <!-- url映謝器-->
    <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
        <property name="urlMap">
            <props>
                <prop key="/hello.do">simpleControl</prop>
            </props>
        </property>
        <property name="interceptors" ref="handlerInterceptor"/>
    </bean>

    <!-- 執(zhí)行適配器-->
    <bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter"/>

    <!--資源解析器 -->
    <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
        <property name="prefix" value="/WEB-INF/page/"/>
        <property name="suffix" value=".jsp"/>
        <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
    </bean>

    <!-- 自定義異常處理器 -->
    <bean class="com.demo.spring.mvc.control.SimpleExceptionHandler"/>
</beans>

其中調(diào)用過程是在HandlerExecutionChain中進(jìn)行調(diào)用以下方法:

  • preHandle :業(yè)務(wù)處理前執(zhí)行
  • postHandle :業(yè)務(wù)處理后執(zhí)行(異常則不執(zhí)行)
  • afterCompletion : 視圖處理后執(zhí)行

整個(gè)的MVC 的執(zhí)行流程可以看下DispatcherServlet中的doDispatch方法涮毫。

org.springframework.web.servlet.DispatcherServlet#doDispatch

歡迎留言交流:)

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末曼玩,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子窒百,更是在濱河造成了極大的恐慌,老刑警劉巖豫尽,帶你破解...
    沈念sama閱讀 206,968評(píng)論 6 482
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件篙梢,死亡現(xiàn)場離奇詭異,居然都是意外死亡美旧,警方通過查閱死者的電腦和手機(jī)渤滞,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,601評(píng)論 2 382
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來榴嗅,“玉大人妄呕,你說我怎么就攤上這事∷圆猓” “怎么了绪励?”我有些...
    開封第一講書人閱讀 153,220評(píng)論 0 344
  • 文/不壞的土叔 我叫張陵,是天一觀的道長唠粥。 經(jīng)常有香客問我疏魏,道長,這世上最難降的妖魔是什么晤愧? 我笑而不...
    開封第一講書人閱讀 55,416評(píng)論 1 279
  • 正文 為了忘掉前任大莫,我火速辦了婚禮,結(jié)果婚禮上官份,老公的妹妹穿的比我還像新娘只厘。我一直安慰自己烙丛,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,425評(píng)論 5 374
  • 文/花漫 我一把揭開白布羔味。 她就那樣靜靜地躺著河咽,像睡著了一般。 火紅的嫁衣襯著肌膚如雪介评。 梳的紋絲不亂的頭發(fā)上库北,一...
    開封第一講書人閱讀 49,144評(píng)論 1 285
  • 那天,我揣著相機(jī)與錄音们陆,去河邊找鬼寒瓦。 笑死,一個(gè)胖子當(dāng)著我的面吹牛坪仇,可吹牛的內(nèi)容都是我干的杂腰。 我是一名探鬼主播,決...
    沈念sama閱讀 38,432評(píng)論 3 401
  • 文/蒼蘭香墨 我猛地睜開眼椅文,長吁一口氣:“原來是場噩夢啊……” “哼喂很!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起皆刺,我...
    開封第一講書人閱讀 37,088評(píng)論 0 261
  • 序言:老撾萬榮一對(duì)情侶失蹤少辣,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后羡蛾,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體漓帅,經(jīng)...
    沈念sama閱讀 43,586評(píng)論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,028評(píng)論 2 325
  • 正文 我和宋清朗相戀三年痴怨,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了忙干。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 38,137評(píng)論 1 334
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡浪藻,死狀恐怖捐迫,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情爱葵,我是刑警寧澤施戴,帶...
    沈念sama閱讀 33,783評(píng)論 4 324
  • 正文 年R本政府宣布,位于F島的核電站萌丈,受9級(jí)特大地震影響暇韧,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜浓瞪,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,343評(píng)論 3 307
  • 文/蒙蒙 一懈玻、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧,春花似錦涂乌、人聲如沸艺栈。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,333評(píng)論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽湿右。三九已至,卻和暖如春罚勾,著一層夾襖步出監(jiān)牢的瞬間毅人,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 31,559評(píng)論 1 262
  • 我被黑心中介騙來泰國打工尖殃, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留丈莺,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 45,595評(píng)論 2 355
  • 正文 我出身青樓送丰,卻偏偏與公主長得像缔俄,于是被迫代替她去往敵國和親。 傳聞我的和親對(duì)象是個(gè)殘疾皇子器躏,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,901評(píng)論 2 345

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