File tree Expand file tree Collapse file tree
TimeMachine-core/src/main/java/com/xiaomo/timeMachine/core
TimeMachine-manager/src/main/java/com/xiaomo/timeMachine/manager Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com .xiaomo .timeMachine .core .dao .base ;
22
3- import com .xiaomo .timeMachine .core .entity .base .BaseEntity ;
3+ import com .xiaomo .timeMachine .core .model .base .BaseEntity ;
44import org .springframework .stereotype .Repository ;
55
66import javax .persistence .EntityManager ;
Original file line number Diff line number Diff line change 1+ package com .xiaomo .timeMachine .core .model ;
2+
3+ import com .xiaomo .timeMachine .core .model .base .SpecifyIdEntity ;
4+
5+ import javax .persistence .Entity ;
6+
7+ /**
8+ * 把今天最好的表现当作明天最新的起点..~
9+ * いま 最高の表現 として 明日最新の始発..~
10+ * Today the best performance as tomorrow newest starter!
11+ * Created by IntelliJ IDEA.
12+ *
13+ * @author: xiaomo
14+ * @github: https://github.com/qq83387856
15+ * @email: hupengbest@163.com
16+ * @QQ_NO: 83387856
17+ * @Date: 12:41 2016/1/5
18+ * @Description: todo
19+ * @Copyright(©) 2015 by xiaomo.
20+ */
21+ @ Entity
22+ public class User extends SpecifyIdEntity {
23+
24+ }
Original file line number Diff line number Diff line change 1- package com .xiaomo .timeMachine .core .entity .base ;
1+ package com .xiaomo .timeMachine .core .model .base ;
22
33import javax .persistence .MappedSuperclass ;
44import javax .persistence .Version ;
Original file line number Diff line number Diff line change 1- package com .xiaomo .timeMachine .core .entity .base ;
1+ package com .xiaomo .timeMachine .core .model .base ;
22
33import javax .persistence .*;
44
Original file line number Diff line number Diff line change 1- package com .xiaomo .timeMachine .core .entity .base ;
1+ package com .xiaomo .timeMachine .core .model .base ;
22
33import javax .persistence .Id ;
44import javax .persistence .MappedSuperclass ;
Original file line number Diff line number Diff line change 1- package com .xiaomo .timeMachine .core .entity .enumercation ;
1+ package com .xiaomo .timeMachine .core .model .enumercation ;
22
33/**
44 * │\__╭╭╭╭╭__/│
Original file line number Diff line number Diff line change 545545//
546546// /**
547547// * Replaces characters that may be confused by a HTML
548- // * parser with their equivalent character entity references.
548+ // * parser with their equivalent character model references.
549549// * <p/>
550550// * Any data that will appear as text on a web page should
551551// * be be escaped. This is especially important for data
561561// * content on your web server.
562562// * <p/>
563563// * This method will replace HTML characters such as > with their
564- // * HTML entity reference (&gt;) so that the html parser will
564+ // * HTML model reference (&gt;) so that the html parser will
565565// * be sure to interpret them as plain text rather than HTML or script.
566566// * <p/>
567567// * This method should be used for both data to be displayed in text
Original file line number Diff line number Diff line change 1- package com .xiaomo .ManagerMain .manager ;
1+ package com .xiaomo .timeMachine .manager ;
22
33import com .xiaomo .timeMachine .core .factory .HttpClientFactory ;
44import org .apache .http .client .HttpClient ;
1010import org .springframework .context .annotation .Configuration ;
1111import org .springframework .data .jpa .repository .config .EnableJpaRepositories ;
1212import org .springframework .transaction .annotation .EnableTransactionManagement ;
13+ import org .springframework .web .servlet .config .annotation .WebMvcConfigurerAdapter ;
1314
1415/**
1516 * │\__╭╭╭╭╭__/│
3738@ Configuration
3839@ EnableAutoConfiguration
3940@ ComponentScan ("com.xiaomo.timeMachine" )
40- @ EntityScan ("com.xiaomo.timeMachine.*.entity " )
41+ @ EntityScan ("com.xiaomo.timeMachine.*.model " )
4142@ EnableTransactionManagement
4243@ EnableJpaRepositories ("com.xiaomo.timeMachine.*.dao" )
43- public class ManagerMain {
44+ public class ManagerMain extends WebMvcConfigurerAdapter {
4445
4546 public static void main (String [] args ) throws Exception {
4647 SpringApplication .run (ManagerMain .class , args );
Original file line number Diff line number Diff line change 1- package com .xiaomo .ManagerMain .manager .controller ;
1+ package com .xiaomo .timeMachine .manager .controller ;
22
33import org .springframework .web .bind .annotation .RequestMapping ;
44import org .springframework .web .bind .annotation .RestController ;
You can’t perform that action at this time.
0 commit comments