2019年6月17日
摘要: writes at beginning, sometime we need to save data into localStorage and control its life ourselves , and here is a good open source tool helps do thi 阅读全文
posted @ 2019-06-17 15:00 四维胖次 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 1. for frontEnd 2. for Java 1 import java.io.Serializable; 2 3 /** 4 * <a href="https://restfulapi.net/http-status-codes/">HTTP Status Codes</a> 5 * r 阅读全文
posted @ 2019-06-17 14:30 四维胖次 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 1. we need a service get the weather 1 import {Injectable} from '@angular/core'; 2 import {HttpClient, HttpResponse} from '@angular/common/http'; 3 im 阅读全文
posted @ 2019-06-17 14:20 四维胖次 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1. fist of all, we have a interface stands for the field type 2. then, we generate a service that can be used as bridge between these components 3. we 阅读全文
posted @ 2019-06-17 14:07 四维胖次 阅读(82) 评论(0) 推荐(0) 编辑