微服務(wù)之 -- dubbox初次使用

關(guān)于dubbox的介紹可以自行百度党远。

官網(wǎng)地址:https://github.com/dangdangdotcom/dubbox

Dubbox需要什么版本的JDK削解?

目前最好在JDK 1.7以上運(yùn)行

Dubbo REST的服務(wù)能和Dubbo注冊(cè)中心富弦、監(jiān)控中心集成嗎?

可以的氛驮,而且是自動(dòng)集成的腕柜,也就是你在dubbo中開發(fā)的所有REST服務(wù)都會(huì)自動(dòng)注冊(cè)到服務(wù)冊(cè)中心和監(jiān)控中心,可以通過它們做管理矫废。

但是盏缤,只有當(dāng)REST的消費(fèi)端也是基于dubbo的時(shí)候,注冊(cè)中心中的許多服務(wù)治理操作才能完全起作用蓖扑。而如果消費(fèi)端是非dubbo的唉铜,自然不受注冊(cè)中心管理,所以其中很多操作是不會(huì)對(duì)消費(fèi)端起作用的律杠。

不廢話潭流,代碼可以說明一切

可以參考官方的文檔?http://dangdangdotcom.github.io/dubbox/rest.html

一、先從git上面下載項(xiàng)目柜去,然后在項(xiàng)目根目錄執(zhí)行mvn install灰嫉,執(zhí)行完成之后將下圖中紅色框里面的war包放tomcat里面運(yùn)行。


二嗓奢、創(chuàng)建如下項(xiàng)目

項(xiàng)目程序結(jié)構(gòu)如圖:


1讼撒、pom.xml

<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/xsd/maven-4.0.0.xsd">

? <modelVersion>4.0.0</modelVersion>

? <groupId>hvgroup</groupId>

? <artifactId>com</artifactId>

? <version>0.0.1-SNAPSHOT</version>

? <packaging>war</packaging>

? <name>dbxtest</name>

? <dependencies>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>com.alibaba</groupId>

? ? ? ? ? ? <artifactId>dubbo-demo-api</artifactId>

? ? ? ? ? ? <version>2.8.4</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>com.alibaba</groupId>

? ? ? ? ? ? <artifactId>dubbo</artifactId>

? ? ? ? ? ? <version>2.8.4</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.javassist</groupId>

? ? ? ? ? ? <artifactId>javassist</artifactId>

? ? ? ? ? ? <version>3.20.0-GA</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>io.netty</groupId>

? ? ? ? ? ? <artifactId>netty</artifactId>

? ? ? ? ? ? <version>3.7.0.Final</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.apache.mina</groupId>

? ? ? ? ? ? <artifactId>mina-core</artifactId>

? ? ? ? ? ? <version>1.1.7</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.glassfish.grizzly</groupId>

? ? ? ? ? ? <artifactId>grizzly-core</artifactId>

? ? ? ? ? ? <version>2.1.4</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.apache.httpcomponents</groupId>

? ? ? ? ? ? <artifactId>httpclient</artifactId>

? ? ? ? ? ? <version>4.2.1</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>com.alibaba</groupId>

? ? ? ? ? ? <artifactId>fastjson</artifactId>

? ? ? ? ? ? <version>1.1.39</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>com.thoughtworks.xstream</groupId>

? ? ? ? ? ? <artifactId>xstream</artifactId>

? ? ? ? ? ? <version>1.4.1</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.apache.bsf</groupId>

? ? ? ? ? ? <artifactId>bsf-api</artifactId>

? ? ? ? ? ? <version>3.1</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.apache.zookeeper</groupId>

? ? ? ? ? ? <artifactId>zookeeper</artifactId>

? ? ? ? ? ? <version>3.4.6</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>com.github.sgroschupf</groupId>

? ? ? ? ? ? <artifactId>zkclient</artifactId>

? ? ? ? ? ? <version>0.1</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.apache.curator</groupId>

? ? ? ? ? ? <artifactId>curator-framework</artifactId>

? ? ? ? ? ? <version>2.5.0</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>com.googlecode.xmemcached</groupId>

? ? ? ? ? ? <artifactId>xmemcached</artifactId>

? ? ? ? ? ? <version>1.3.6</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.apache.cxf</groupId>

? ? ? ? ? ? <artifactId>cxf-rt-frontend-simple</artifactId>

? ? ? ? ? ? <version>2.6.1</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.apache.cxf</groupId>

? ? ? ? ? ? <artifactId>cxf-rt-transports-http</artifactId>

? ? ? ? ? ? <version>2.6.1</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.apache.thrift</groupId>

? ? ? ? ? ? <artifactId>libthrift</artifactId>

? ? ? ? ? ? <version>0.8.0</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>com.caucho</groupId>

? ? ? ? ? ? <artifactId>hessian</artifactId>

? ? ? ? ? ? <version>4.0.7</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>javax.servlet</groupId>

? ? ? ? ? ? <artifactId>javax.servlet-api</artifactId>

? ? ? ? ? ? <version>3.1.0</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.mortbay.jetty</groupId>

? ? ? ? ? ? <artifactId>jetty</artifactId>

? ? ? ? ? ? <exclusions>

? ? ? ? ? ? ? ? <exclusion>

? ? ? ? ? ? ? ? ? ? <groupId>org.mortbay.jetty</groupId>

? ? ? ? ? ? ? ? ? ? <artifactId>servlet-api</artifactId>

? ? ? ? ? ? ? ? </exclusion>

? ? ? ? ? ? </exclusions>

? ? ? ? ? ? <version>6.1.26</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>log4j</groupId>

? ? ? ? ? ? <artifactId>log4j</artifactId>

? ? ? ? ? ? <version>1.2.16</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.slf4j</groupId>

? ? ? ? ? ? <artifactId>slf4j-api</artifactId>

? ? ? ? ? ? <version>1.6.2</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>redis.clients</groupId>

? ? ? ? ? ? <artifactId>jedis</artifactId>

? ? ? ? ? ? <version>2.1.0</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>javax.validation</groupId>

? ? ? ? ? ? <artifactId>validation-api</artifactId>

? ? ? ? ? ? <version>1.0.0.GA</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.hibernate</groupId>

? ? ? ? ? ? <artifactId>hibernate-validator</artifactId>

? ? ? ? ? ? <version>4.2.0.Final</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>javax.cache</groupId>

? ? ? ? ? ? <artifactId>cache-api</artifactId>

? ? ? ? ? ? <version>0.4</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.jboss.resteasy</groupId>

? ? ? ? ? ? <artifactId>resteasy-jaxrs</artifactId>

? ? ? ? ? ? <version>3.0.7.Final</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.jboss.resteasy</groupId>

? ? ? ? ? ? <artifactId>resteasy-client</artifactId>

? ? ? ? ? ? <version>3.0.7.Final</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.jboss.resteasy</groupId>

? ? ? ? ? ? <artifactId>resteasy-netty</artifactId>

? ? ? ? ? ? <version>3.0.7.Final</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.jboss.resteasy</groupId>

? ? ? ? ? ? <artifactId>resteasy-jdk-http</artifactId>

? ? ? ? ? ? <version>3.0.7.Final</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.jboss.resteasy</groupId>

? ? ? ? ? ? <artifactId>resteasy-jackson-provider</artifactId>

? ? ? ? ? ? <version>3.0.7.Final</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.jboss.resteasy</groupId>

? ? ? ? ? ? <artifactId>resteasy-jaxb-provider</artifactId>

? ? ? ? ? ? <version>3.0.7.Final</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.apache.tomcat.embed</groupId>

? ? ? ? ? ? <artifactId>tomcat-embed-core</artifactId>

? ? ? ? ? ? <version>8.0.11</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>org.apache.tomcat.embed</groupId>

? ? ? ? ? ? <artifactId>tomcat-embed-logging-juli</artifactId>

? ? ? ? ? ? <version>8.0.11</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>com.esotericsoftware.kryo</groupId>

? ? ? ? ? ? <artifactId>kryo</artifactId>

? ? ? ? ? ? <version>2.24.0</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>de.javakaffee</groupId>

? ? ? ? ? ? <artifactId>kryo-serializers</artifactId>

? ? ? ? ? ? <version>0.26</version>

? ? ? ? </dependency>

? ? ? ? <dependency>

? ? ? ? ? ? <groupId>de.ruedigermoeller</groupId>

? ? ? ? ? ? <artifactId>fst</artifactId>

? ? ? ? ? ? <version>1.55</version>

? ? ? ? </dependency>

? ? </dependencies>

? <build>

? ? <plugins>

? ? ? <plugin>

? ? ? ? <artifactId>maven-compiler-plugin</artifactId>

? ? ? ? <configuration>

? ? ? ? ? <source>1.6</source>

? ? ? ? ? <target>1.6</target>

? ? ? ? </configuration>

? ? ? </plugin>

? ? </plugins>

? </build>

</project>

2、User.java

package com.hvgroup.user;

import java.io.Serializable;

import javax.validation.constraints.Min;

import javax.validation.constraints.NotNull;

import javax.validation.constraints.Size;

import javax.xml.bind.annotation.XmlAccessType;

import javax.xml.bind.annotation.XmlAccessorType;

import javax.xml.bind.annotation.XmlElement;

import javax.xml.bind.annotation.XmlRootElement;

import org.codehaus.jackson.annotate.JsonProperty;

@XmlRootElement

@XmlAccessorType(XmlAccessType.FIELD)

public class User implements Serializable {

? ? @NotNull

? ? @Min(1L)

? ? private Long id;

? ? @JsonProperty("username")

? ? @XmlElement(name = "username")

? ? @NotNull

? ? @Size(min = 6, max = 50)

? ? private String name;

? ? public User() {

? ? }

? ? public User(Long id, String name) {

? ? ? ? this.id = id;

? ? ? ? this.name = name;

? ? }

? ? public Long getId() {

? ? ? ? return id;

? ? }

? ? public void setId(Long id) {

? ? ? ? this.id = id;

? ? }

? ? public String getName() {

? ? ? ? return name;

? ? }

? ? public void setName(String name) {

? ? ? ? this.name = name;

? ? }

? ? @Override

? ? public String toString() {

? ? ? ? return "User (" +

? ? ? ? ? ? ? ? "id=" + id +

? ? ? ? ? ? ? ? ", name='" + name + '\'' +

? ? ? ? ? ? ? ? ')';

? ? }

}

3股耽、UserService.java

package com.hvgroup.user;

public interface? UserService {? ?

? void registerUser(User user);

? User getUser(Long id);

}

4根盒、UserServiceImpl.java

package com.hvgroup.user;

public class UserServiceImpl implements UserService {

? ? public void registerUser(User user) {

? ? ? ? // save the user...

? ? }


? ? public User getUser(Long id) {

? ? ? ? return new User(id, "username" + id);

? ? }

}

5、UserServiceWebImpl.java

package com.hvgroup.user;

import com.alibaba.dubbo.rpc.RpcContext;

import com.hvgroup.user.User;

import com.hvgroup.user.UserService;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

import javax.ws.rs.Consumes;

import javax.ws.rs.GET;

import javax.ws.rs.POST;

import javax.ws.rs.Path;

import javax.ws.rs.PathParam;

import javax.ws.rs.Produces;

import org.slf4j.Logger;

import org.slf4j.LoggerFactory;

@Path("users")

@Consumes({"application/json", "text/xml"})

@Produces({"application/json; charset=UTF-8", "text/xml; charset=UTF-8"})

public class UserServiceWebImpl implements UserService {

? ? private static final Logger logger = LoggerFactory.getLogger(UserServiceWebImpl.class);

? ? private UserService userService;

? ? public void setUserService(UserService userService) {

? ? ? ? this.userService = userService;

? ? }

? ? @GET

? ? @Path("{id : \\d+}")

? ? public User getUser(@PathParam("id") Long id)

? ? {

? ? ? if (RpcContext.getContext().getRequest(HttpServletRequest.class) != null) {

? ? ? ? System.out.println("Client IP address from RpcContext: " + ((HttpServletRequest)RpcContext.getContext().getRequest(HttpServletRequest.class)).getRemoteAddr());

? ? ? }

? ? ? if (RpcContext.getContext().getResponse(HttpServletResponse.class) != null) {

? ? ? ? System.out.println("Response object from RpcContext: " + RpcContext.getContext().getResponse(HttpServletResponse.class));

? ? ? }

? ? ? return this.userService.getUser(id);

? ? }

? ? @POST

? ? @Path("register")

? ? public void registerUser(User user) {

? ? }

}

6物蝙、dubbo-demo-provider.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:dubbo="http://code.alibabatech.com/schema/dubbo"

xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">

? ? <dubbo:application name="dubboxtest" owner="programmer" organization="dubbox"/>

? ? <dubbo:registry address="zookeeper://192.168.89.135:2181"/>



? ? <!-- 用rest協(xié)議在8080端口暴露服務(wù) -->

<dubbo:protocol name="rest" port="8888" threads="500"? server="tomcat" accepts="500"

? ? ? ? ? ? ? ? ? ? extension="com.alibaba.dubbo.demo.extension.TraceInterceptor,

? ? ? ? ? ? ? ? ? ? com.alibaba.dubbo.demo.extension.TraceFilter,

? ? ? ? ? ? ? ? ? ? com.alibaba.dubbo.demo.extension.ClientTraceFilter,

? ? ? ? ? ? ? ? ? ? com.alibaba.dubbo.demo.extension.DynamicTraceBinding,

? ? ? ? ? ? ? ? ? ? com.alibaba.dubbo.demo.extension.CustomExceptionMapper,

? ? ? ? ? ? ? ? ? ? com.alibaba.dubbo.rpc.protocol.rest.support.LoggingFilter"/>

<!-- <dubbo:protocol name="rest" port="8888" contextpath="dbxtest" server="servlet" />? -->

<!-- 聲明需要暴露的服務(wù)接口 -->

<dubbo:service interface="com.hvgroup.user.UserWebService" ref="userWebService" protocol="rest" validation="true"/>

<!-- <dubbo:service interface="com.hvgroup.user.UserWebService" ref="userWebService"/> -->

<!-- 和本地bean一樣實(shí)現(xiàn)服務(wù) -->

<bean id="userService" class="com.hvgroup.user.UserServiceImpl" />

<bean id="userWebService" class="com.hvgroup.user.UserServiceWebImpl">

? ? ? ? <property name="userService" ref="userService"/>

? ? </bean>

</beans>

7郑象、log4j.xml

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">

<layout class="org.apache.log4j.PatternLayout">

<param name="ConversionPattern" value="[%d{dd/MM/yy hh:mm:ss:sss z}] %t %5p %c{2}: %m%n" />

</layout>

</appender>

<root>

<level value="INFO" />

<appender-ref ref="CONSOLE" />

</root>

</log4j:configuration>

8、web.xml

<?xml version="1.0"?>

<!DOCTYPE web-app PUBLIC

"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

"http://java.sun.com/dtd/web-app_2_3.dtd" >

<web-app>

? ? <context-param>

? ? ? ? <param-name>contextConfigLocation</param-name>

? ? ? ? <param-value>/WEB-INF/classes/dubbo-demo-provider.xml</param-value>

? ? </context-param>

? ? <listener>

? ? ? ? <listener-class>com.alibaba.dubbo.remoting.http.servlet.BootstrapListener</listener-class>

? ? </listener>

? ? <listener>

? ? ? ? <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

? ? </listener>

? ? <servlet>

? ? ? ? <servlet-name>dispatcher</servlet-name>

? ? ? ? <servlet-class>com.alibaba.dubbo.remoting.http.servlet.DispatcherServlet</servlet-class>

? ? ? ? <load-on-startup>1</load-on-startup>

? ? </servlet>

? ? <servlet-mapping>

? ? ? ? <servlet-name>dispatcher</servlet-name>

? ? ? ? <url-pattern>/*</url-pattern>

? ? </servlet-mapping>

</web-app>

三茬末、將新創(chuàng)建的項(xiàng)目部署到tomcat里面運(yùn)行起來厂榛。

四、在瀏覽器上面?http://localhost:8888/users/1001


Een~~

更多內(nèi)容請(qǐng)關(guān)注我丽惭,會(huì)第一時(shí)間持續(xù)進(jìn)行更新击奶。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市责掏,隨后出現(xiàn)的幾起案子柜砾,更是在濱河造成了極大的恐慌,老刑警劉巖换衬,帶你破解...
    沈念sama閱讀 219,427評(píng)論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件痰驱,死亡現(xiàn)場離奇詭異证芭,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)担映,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,551評(píng)論 3 395
  • 文/潘曉璐 我一進(jìn)店門废士,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人蝇完,你說我怎么就攤上這事官硝。” “怎么了短蜕?”我有些...
    開封第一講書人閱讀 165,747評(píng)論 0 356
  • 文/不壞的土叔 我叫張陵氢架,是天一觀的道長。 經(jīng)常有香客問我朋魔,道長岖研,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,939評(píng)論 1 295
  • 正文 為了忘掉前任警检,我火速辦了婚禮孙援,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘解滓。我一直安慰自己赃磨,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,955評(píng)論 6 392
  • 文/花漫 我一把揭開白布洼裤。 她就那樣靜靜地躺著邻辉,像睡著了一般。 火紅的嫁衣襯著肌膚如雪腮鞍。 梳的紋絲不亂的頭發(fā)上值骇,一...
    開封第一講書人閱讀 51,737評(píng)論 1 305
  • 那天,我揣著相機(jī)與錄音移国,去河邊找鬼吱瘩。 笑死,一個(gè)胖子當(dāng)著我的面吹牛迹缀,可吹牛的內(nèi)容都是我干的使碾。 我是一名探鬼主播,決...
    沈念sama閱讀 40,448評(píng)論 3 420
  • 文/蒼蘭香墨 我猛地睜開眼祝懂,長吁一口氣:“原來是場噩夢(mèng)啊……” “哼票摇!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起砚蓬,我...
    開封第一講書人閱讀 39,352評(píng)論 0 276
  • 序言:老撾萬榮一對(duì)情侶失蹤矢门,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體祟剔,經(jīng)...
    沈念sama閱讀 45,834評(píng)論 1 317
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡隔躲,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,992評(píng)論 3 338
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了物延。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片宣旱。...
    茶點(diǎn)故事閱讀 40,133評(píng)論 1 351
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖教届,靈堂內(nèi)的尸體忽然破棺而出响鹃,到底是詐尸還是另有隱情驾霜,我是刑警寧澤案训,帶...
    沈念sama閱讀 35,815評(píng)論 5 346
  • 正文 年R本政府宣布,位于F島的核電站粪糙,受9級(jí)特大地震影響强霎,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜蓉冈,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,477評(píng)論 3 331
  • 文/蒙蒙 一城舞、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧寞酿,春花似錦家夺、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,022評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至惨好,卻和暖如春煌茴,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背日川。 一陣腳步聲響...
    開封第一講書人閱讀 33,147評(píng)論 1 272
  • 我被黑心中介騙來泰國打工蔓腐, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人龄句。 一個(gè)月前我還...
    沈念sama閱讀 48,398評(píng)論 3 373
  • 正文 我出身青樓回论,卻偏偏與公主長得像,于是被迫代替她去往敵國和親分歇。 傳聞我的和親對(duì)象是個(gè)殘疾皇子傀蓉,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,077評(píng)論 2 355

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