springboot統(tǒng)一restful返回值及統(tǒng)一異常處理

統(tǒng)一返回restful數(shù)據(jù):

首先確定需要返回的json數(shù)據(jù)的格式,定義一個(gè)統(tǒng)一返回類

package com.unicom.microservice.peixun.peixun_matb3.Response;

import com.unicom.microservice.peixun.peixun_matb3.enums.UnicomResponseEnums;

/**

* @program: 測(cè)試

* @description:返回的JSON數(shù)據(jù)結(jié)構(gòu)標(biāo)準(zhǔn)

* @author: mtb

* @create: 2018-10-17 09:01

**/

public class ResponseBean <T>{

private boolean success;

private T data;

private String errCode;

private String errMsg;

public ResponseBean(){}

public ResponseBean(boolean success, T data) {

super();

this.success = success;

this.data = data;

}

@Override

public String toString() {

return "ResponseBean{" +

"success=" + success +

", data=" + data +

", errCode='" + errCode + '\'' +

", errMsg='" + errMsg + '\'' +

'}';

}

public ResponseBean(boolean success, T data, String errCode, String errMsg) {

super();

this.success = success;

this.data = data;

this.errCode = errCode;

this.errMsg = errMsg;

}

public ResponseBean(boolean success, String errCode, String errMsg) {

this.success = success;

this.errCode = errCode;

this.errMsg = errMsg;

}

public ResponseBean(boolean success,UnicomResponseEnums enums){

this.success=success;

this.errCode=enums.getCode();

this.errMsg=enums.getMsg();

}

public ResponseBean(boolean success,T data,UnicomResponseEnums enums){

this.success=success;

this.data=data;

this.errCode=enums.getCode();

this.errMsg=enums.getMsg();

}

public boolean isSuccess() {

return success;

}

public void setSuccess(boolean success) {

this.success = success;

}

public T getData() {

return data;

}

public void setData(T data) {

this.data = data;

}

public String getErrCode() {

return errCode;

}

public void setErrCode(String errCode) {

this.errCode = errCode;

}

public String getErrMsg() {

return errMsg;

}

public void setErrMsg(String errMsg) {

this.errMsg = errMsg;

}

}

新建一個(gè)枚舉類脱货,將常用提示信息及錯(cuò)誤信息寫(xiě)入:

package com.unicom.microservice.peixun.peixun_matb3.enums;

/**

* @program: 測(cè)試

* @description:友好提示枚舉

* @author: mtb

* @create: 2018-10-17 08:52

**/

public enum UnicomResponseEnums {

SYSTEM_ERROR("-001","系統(tǒng)異常"),

BAD_REQUEST("-002","錯(cuò)誤的請(qǐng)求參數(shù)"),

NOT_FOUND("-003","找不到請(qǐng)求路徑碘菜!"),

CONNECTION_ERROR("-004","網(wǎng)絡(luò)連接請(qǐng)求失敗米苹!"),

METHOD_NOT_ALLOWED("-005","不合法的請(qǐng)求方式"),

DATABASE_ERROR("-004","數(shù)據(jù)庫(kù)異常"),

BOUND_STATEMENT_NOT_FOUNT("-006","找不到方法糕伐!"),

REPEAT_REGISTER("001","重復(fù)注冊(cè)"),

NO_USER_EXIST("002","用戶不存在"),

INVALID_PASSWORD("003","密碼錯(cuò)誤"),

NO_PERMISSION("004","非法請(qǐng)求!"),

SUCCESS_OPTION("005","操作成功蘸嘶!"),

NOT_MATCH("-007","用戶名和密碼不匹配"),

FAIL_GETDATA("-008","獲取信息失敗"),

BAD_REQUEST_TYPE("-009","錯(cuò)誤的請(qǐng)求類型"),

INVALID_MOBILE("010","無(wú)效的手機(jī)號(hào)碼"),

INVALID_EMAIL("011","無(wú)效的郵箱"),

INVALID_GENDER("012","無(wú)效的性別"),

REPEAT_MOBILE("014","已存在此手機(jī)號(hào)"),

REPEAT_EMAIL("015","已存在此郵箱地址"),

NO_RECORD("016","沒(méi)有查到相關(guān)記錄"),

LOGIN_SUCCESS("017","登陸成功"),

LOGOUT_SUCCESS("018","已退出登錄"),

SENDEMAIL_SUCCESS("019","郵件已發(fā)送良瞧,請(qǐng)注意查收"),

EDITPWD_SUCCESS("020","修改密碼成功"),

No_FileSELECT("021","未選擇文件"),

FILEUPLOAD_SUCCESS("022","上傳成功"),

NOLOGIN("023","未登陸"),

ILLEGAL_ARGUMENT("024","參數(shù)不合法"),

ERROR_IDCODE("025","驗(yàn)證碼不正確");

private String code;

private String msg;

private UnicomResponseEnums(String code, String msg) {

this.code = code;

this.msg = msg;

}

public String getCode() {

return code;

}

public void setCode(String code) {

this.code = code;

}

public String getMsg() {

return msg;

}

public void setMsg(String msg) {

this.msg = msg;

}

}

建立一個(gè)自定義異常繼承 RuntimeException類,以便拋出自定義異常

package com.unicom.microservice.peixun.peixun_matb3.exception;

import com.unicom.microservice.peixun.peixun_matb3.enums.UnicomResponseEnums;

/**

* @program: 測(cè)試

* @description:自定義異常

* @author: mtb

* @create: 2018-10-17 08:57

**/

public class UnicomRuntimeException extends RuntimeException {

private static final long serialVersionUID = 1L;

protected String code;

protected String msg;

protected String message;//打印出的日志信息

public UnicomRuntimeException(UnicomResponseEnums enums, String message) {

super();

this.code = enums.getCode();

this.msg = enums.getMsg();

this.message = message;

}

public UnicomRuntimeException(UnicomResponseEnums enums) {

super();

this.code = enums.getCode();

this.msg = enums.getMsg();

}

public String getCode() {

return code;

}

public void setCode(String code) {

this.code = code;

}

public String getMsg() {

return msg;

}

public void setMsg(String msg) {

this.msg = msg;

}

public String getMessage() {

return message;

}

public void setMessage(String message) {

this.message = message;

}

public UnicomRuntimeException() {

super();

}

public UnicomRuntimeException(String message, Throwable cause) {

super(message, cause);

}

public UnicomRuntimeException(String message) {

super(message);

}

}

新建一個(gè)異常處理類:

package com.unicom.microservice.peixun.peixun_matb3.exception;

import javax.servlet.http.HttpServletRequest;

import com.unicom.microservice.peixun.peixun_matb3.Response.ResponseBean;

import com.unicom.microservice.peixun.peixun_matb3.enums.UnicomResponseEnums;

import org.apache.ibatis.binding.BindingException;

import org.omg.CosNaming.NamingContextPackage.NotFound;

import org.slf4j.Logger;

import org.slf4j.LoggerFactory;

import org.springframework.dao.DataAccessException;

import org.springframework.http.HttpStatus;

import org.springframework.stereotype.Controller;

import org.springframework.validation.BindException;

import org.springframework.web.bind.annotation.*;

import org.springframework.web.servlet.NoHandlerFoundException;

import java.net.ConnectException;

import java.sql.SQLException;

/**

* @program: 測(cè)試

* @description:全局的異常處理類

* @author: mtb

* @create: 2018-10-19 11:38

**/

@RestControllerAdvice(annotations={RestController.class,Controller.class})

public class SpringExceptionHandle {

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

/**

* 請(qǐng)求參數(shù)類型錯(cuò)誤異常的捕獲

* @param e

* @return

*/

@ExceptionHandler(value={BindException.class})

@ResponseBody

@ResponseStatus(value=HttpStatus.BAD_REQUEST)

public ResponseBean<String> badRequest(BindException e){

logger.error("occurs error when execute method ,message {}",e.getMessage());

return new ResponseBean<>(false, UnicomResponseEnums.BAD_REQUEST);

}

/**

* 404錯(cuò)誤異常的捕獲

* @param e

* @return

*/

@ExceptionHandler(value={NoHandlerFoundException.class})

@ResponseBody

@ResponseStatus(value=HttpStatus.NOT_FOUND)

public ResponseBean<String> badRequestNotFound(BindException e){

logger.error("occurs error when execute method ,message {}",e.getMessage());

return new ResponseBean<>(false,null, UnicomResponseEnums.NOT_FOUND);

}

/**

* mybatis未綁定異常

* @param e

* @return

*/

@ExceptionHandler(BindingException.class)

@ResponseBody

@ResponseStatus(value=HttpStatus.INTERNAL_SERVER_ERROR)

public ResponseBean<String> mybatis(Exception e){

logger.error("occurs error when execute method ,message {}",e.getMessage());

return new ResponseBean<>(false,UnicomResponseEnums.BOUND_STATEMENT_NOT_FOUNT);

}

/**

* 自定義異常的捕獲

* 自定義拋出異常训唱。統(tǒng)一的在這里捕獲返回JSON格式的友好提示褥蚯。

* @param exception

* @param request

* @return

*/

@ExceptionHandler(value={UnicomRuntimeException.class})

@ResponseBody

@ResponseStatus(value=HttpStatus.INTERNAL_SERVER_ERROR)

public <T> ResponseBean<T> sendError(UnicomRuntimeException exception,HttpServletRequest request){

String requestURI = request.getRequestURI();

logger.error("occurs error when execute url ={} ,message {}",requestURI,exception.getMsg());

return new ResponseBean<>(false,exception.getCode(),exception.getMsg());

}

/**

* 數(shù)據(jù)庫(kù)操作出現(xiàn)異常

* @param e

* @return

*/

@ExceptionHandler(value={SQLException.class,DataAccessException.class})

@ResponseBody

@ResponseStatus(value=HttpStatus.INTERNAL_SERVER_ERROR)

public ResponseBean<String> systemError(Exception e){

logger.error("occurs error when execute method ,message {}",e.getMessage());

return new ResponseBean<>(false, UnicomResponseEnums.DATABASE_ERROR);

}

/**

* 網(wǎng)絡(luò)連接失敗况增!

* @param e

* @return

*/

@ExceptionHandler(value={ConnectException.class})

@ResponseBody

@ResponseStatus(value=HttpStatus.INTERNAL_SERVER_ERROR)

public ResponseBean<String> connect(Exception e){

logger.error("occurs error when execute method ,message {}",e.getMessage());

return new ResponseBean<>(false, UnicomResponseEnums.CONNECTION_ERROR);

}

@ExceptionHandler(value={Exception.class})

@ResponseBody

@ResponseStatus(value=HttpStatus.METHOD_NOT_ALLOWED)

public ResponseBean<String> notAllowed(Exception e){

logger.error("occurs error when execute method ,message {}",e.getMessage());

return new ResponseBean<>(false, UnicomResponseEnums.METHOD_NOT_ALLOWED);

}

}

建立一個(gè)測(cè)試controller類:

package com.unicom.microservice.peixun.peixun_matb3.web;/**

* Created by matengbing on 2018/10/15.

*/

import com.unicom.microservice.peixun.peixun_matb3.Response.ResponseBean;

import com.unicom.microservice.peixun.peixun_matb3.enums.UnicomResponseEnums;

import io.swagger.annotations.Api;

import io.swagger.annotations.ApiOperation;

import org.springframework.web.bind.annotation.*;

import springfox.documentation.annotations.ApiIgnore;

import java.util.HashMap;

import java.util.Map;

import java.util.Objects;

import java.util.StringJoiner;

/**

* @program: 測(cè)試

* @description:測(cè)試接口

* @author: mtb

* @create: 2018-10-15 11:26

**/

@RestController

@ApiIgnore

//@RequestMapping(value = "sayHello")

public class HelloController {

@CrossOrigin

@ApiOperation(value = "hello")

@RequestMapping(value = "/hello",method = RequestMethod.GET)

public ResponseBean<UnicomResponseEnums> sayHello(){

ResponseBean responseBean=new ResponseBean(true,UnicomResponseEnums.SUCCESS_OPTION);

return responseBean;

}

}

使用postman測(cè)試接口:

注意要配置springboot啟動(dòng)類赞庶,掃描controller等注解類被掃描到

@API等注解是swagger的注解,如果沒(méi)有使用到可以刪除

我們?cè)趯?shí)現(xiàn)數(shù)據(jù)庫(kù)操作的方法中try澳骤,catch歧强,捕捉到異常后,拋出一個(gè)自定義異常

@Transactional

@Override

public int addUser(User user) {

try {

user.setUserpwd(DigestUtils.md5DigestAsHex(user.getUserpwd().getBytes()));

userMapper.insertUser(user);

return user.getId();

}catch (Exception e){

throw new UnicomRuntimeException(UnicomResponseEnums.FAIL_INSERTUSER);

}

}

接著攔截404錯(cuò)誤

package com.unicom.peixun.web;

import com.unicom.peixun.Response.ResponseBean;

import com.unicom.peixun.enums.UnicomResponseEnums;

import org.springframework.boot.autoconfigure.web.ErrorController;

import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**

* @program: peixun_matb3

* @description:

* @author: matengbing

* @create: 2018-10-20 09:08

**/

@RestController

public class MyBasicErrorController implements ErrorController {

private static final String ERROR_PATH="/error";

@RequestMapping("/error")

public ResponseBean<Object> handleError(HttpServletRequest request){

//獲取statusCode:401,404,500

Integer statusCode = (Integer) request.getAttribute("javax.servlet.error.status_code");

if(statusCode==404){

return new ResponseBean<>(false,null,UnicomResponseEnums.NOT_FOUND);

}else {

return new ResponseBean<>(false,null,UnicomResponseEnums.METHOD_NOT_ALLOWED);

}

}

@Override

public String getErrorPath() {

return ERROR_PATH;

}

}

用于登錄攔截的攔截器實(shí)現(xiàn)返回restful數(shù)據(jù):

package com.unicom.peixun.inteceptor;

import com.alibaba.fastjson.JSON;

import com.unicom.peixun.Response.ResponseBean;

import com.unicom.peixun.domain.User;

import com.unicom.peixun.enums.UnicomResponseEnums;

import com.unicom.peixun.web.UserController;

import org.apache.log4j.Logger;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Component;

import org.springframework.web.servlet.HandlerInterceptor;

import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

import javax.servlet.http.HttpSession;

import java.io.PrintWriter;

/**

* @program: peixun_matb3

* @description:

* @author: matengbing

* @create: 2018-10-18 10:40

**/

@Component

public class LoginInterceptor implements HandlerInterceptor {

private static Logger logger=Logger.getLogger(LoginInterceptor.class);

@Autowired

UserController userController;

// 在請(qǐng)求處理之前調(diào)用,只有返回true才會(huì)執(zhí)行請(qǐng)求

@Override

public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) throws Exception {

HttpSession session=httpServletRequest.getSession();

User user=(User) session.getAttribute("user");

//登錄過(guò)得用戶直接通過(guò)

if(user!=null){

return true;

}

//未登錄用戶攔截为肮,返回json數(shù)據(jù)

httpServletResponse.setCharacterEncoding("UTF-8");

httpServletResponse.setContentType("application/json; charset=utf-8");

PrintWriter out = httpServletResponse.getWriter() ;

try{

ResponseBean<Object> responseBean=new ResponseBean<>(false,null,UnicomResponseEnums.NOLOGIN);

out = httpServletResponse.getWriter();

out.append(JSON.toJSON(responseBean).toString());

return false;

}

catch (Exception e) {

e.printStackTrace();

httpServletResponse.sendError(500);

return false;

}

}

@Override

public void postHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, ModelAndView modelAndView) throws Exception {

}

@Override

public void afterCompletion(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) throws Exception {

}

}

攔截器需要配置@configuration

package com.unicom.peixun.configuration;

import com.unicom.peixun.inteceptor.LoginInterceptor;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.web.servlet.config.annotation.InterceptorRegistry;

import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;

import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**

* @program:

* @description:

* @author: mtb

* @create: 2018-10-18 10:50

**/

@Configuration

public class LoginAdapter extends WebMvcConfigurerAdapter {

@Autowired

LoginInterceptor loginInterceptor;

@Override

public void addInterceptors(InterceptorRegistry registry) {

registry.addInterceptor(loginInterceptor)

.addPathPatterns("/**")

.excludePathPatterns("/login")

.excludePathPatterns("/swagger-resources/**", "/webjars/**", "/v2/**", "/swagger-ui.html/**");

super.addInterceptors(registry);

}

/**

* 配置靜態(tài)訪問(wèn)資源

* @param registry

*/

@Override

public void addResourceHandlers(ResourceHandlerRegistry registry) {

registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/");

registry.addResourceHandler("swagger-ui.html")

.addResourceLocations("classpath:/META-INF/resources/");

registry.addResourceHandler("/webjars/**")

.addResourceLocations("classpath:/META-INF/resources/webjars/");

super.addResourceHandlers(registry);

}

}

配置了攔截器攔截所有請(qǐng)求摊册,不攔截/login,swagger的相關(guān)請(qǐng)求颊艳,靜態(tài)資源的請(qǐng)求茅特,

如果攔截了/login會(huì)出現(xiàn)循環(huán)重定向報(bào)錯(cuò)

如果攔截了swagger的相關(guān)請(qǐng)求忘分,查看swagger文檔時(shí)看不到相應(yīng)資源

喜歡的點(diǎn)點(diǎn)關(guān)注,點(diǎn)點(diǎn)贊温治。

對(duì)Java技術(shù)饭庞,架構(gòu)技術(shù)感興趣的同學(xué),歡迎加QQ群585550789熬荆,一起學(xué)習(xí)舟山,相互討論。

群內(nèi)已經(jīng)有小伙伴將知識(shí)體系整理好(源碼卤恳,筆記累盗,PPT,學(xué)習(xí)視頻)突琳,歡迎加群領(lǐng)取若债。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市拆融,隨后出現(xiàn)的幾起案子蠢琳,更是在濱河造成了極大的恐慌,老刑警劉巖镜豹,帶你破解...
    沈念sama閱讀 206,311評(píng)論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件傲须,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡趟脂,警方通過(guò)查閱死者的電腦和手機(jī)泰讽,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,339評(píng)論 2 382
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)昔期,“玉大人已卸,你說(shuō)我怎么就攤上這事∨鹨唬” “怎么了累澡?”我有些...
    開(kāi)封第一講書(shū)人閱讀 152,671評(píng)論 0 342
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)欠动。 經(jīng)常有香客問(wèn)我永乌,道長(zhǎng),這世上最難降的妖魔是什么具伍? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 55,252評(píng)論 1 279
  • 正文 為了忘掉前任翅雏,我火速辦了婚禮,結(jié)果婚禮上人芽,老公的妹妹穿的比我還像新娘望几。我一直安慰自己,他們只是感情好萤厅,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,253評(píng)論 5 371
  • 文/花漫 我一把揭開(kāi)白布橄抹。 她就那樣靜靜地躺著靴迫,像睡著了一般。 火紅的嫁衣襯著肌膚如雪楼誓。 梳的紋絲不亂的頭發(fā)上玉锌,一...
    開(kāi)封第一講書(shū)人閱讀 49,031評(píng)論 1 285
  • 那天,我揣著相機(jī)與錄音疟羹,去河邊找鬼主守。 笑死,一個(gè)胖子當(dāng)著我的面吹牛榄融,可吹牛的內(nèi)容都是我干的参淫。 我是一名探鬼主播,決...
    沈念sama閱讀 38,340評(píng)論 3 399
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼愧杯,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼涎才!你這毒婦竟也來(lái)了?” 一聲冷哼從身側(cè)響起力九,我...
    開(kāi)封第一講書(shū)人閱讀 36,973評(píng)論 0 259
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤耍铜,失蹤者是張志新(化名)和其女友劉穎,沒(méi)想到半個(gè)月后跌前,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體业扒,經(jīng)...
    沈念sama閱讀 43,466評(píng)論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 35,937評(píng)論 2 323
  • 正文 我和宋清朗相戀三年舒萎,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片蹭沛。...
    茶點(diǎn)故事閱讀 38,039評(píng)論 1 333
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡臂寝,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出摊灭,到底是詐尸還是另有隱情咆贬,我是刑警寧澤,帶...
    沈念sama閱讀 33,701評(píng)論 4 323
  • 正文 年R本政府宣布帚呼,位于F島的核電站掏缎,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏煤杀。R本人自食惡果不足惜眷蜈,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,254評(píng)論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望沈自。 院中可真熱鬧酌儒,春花似錦、人聲如沸枯途。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 30,259評(píng)論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至榴啸,卻和暖如春孽惰,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背鸥印。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 31,485評(píng)論 1 262
  • 我被黑心中介騙來(lái)泰國(guó)打工勋功, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人辅甥。 一個(gè)月前我還...
    沈念sama閱讀 45,497評(píng)論 2 354
  • 正文 我出身青樓酝润,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親璃弄。 傳聞我的和親對(duì)象是個(gè)殘疾皇子要销,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,786評(píng)論 2 345

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

  • 很久沒(méi)有過(guò)年的感覺(jué)了,不管是在南方的廣東還是在老家夏块,都找不到以前過(guò)年的那種感覺(jué)疏咐,就像現(xiàn)在吃什么都吃不出兒時(shí)的味道一...
    孤獨(dú)園主閱讀 94評(píng)論 0 0
  • 想一擁而就藍(lán)天,替換抱你的雙臂 看鷹飛略樹(shù)的影子脐供,對(duì)映紅豆相思 等你的心情如候冷風(fēng)過(guò)境浑塞,雨城雨兮 一如往常的遙遙無(wú)...
    小蘇爾閱讀 357評(píng)論 9 5
  • 如果把學(xué)生比作我的孩子的話酌壕,那對(duì)于去年開(kāi)學(xué)接手的八一班來(lái)說(shuō),我無(wú)疑是個(gè)后媽了歇由。 你結(jié)婚了只是當(dāng)一個(gè)孩子或者頂多三個(gè)...
    脁登閱讀 575評(píng)論 3 4
  • 今天中午午睡時(shí)做夢(mèng)卵牍,夢(mèng)見(jiàn)自己遇到了一個(gè)九十多歲已經(jīng)退休的資深的大夫,向她請(qǐng)教如何去醫(yī)院看病的問(wèn)題沦泌。她雖然年事已高但...
    津城燕窩Donna閱讀 146評(píng)論 0 0