From e1d1987fad5c47461ab162e9fb4de47d7e283f5a Mon Sep 17 00:00:00 2001
From: LeJingS <157603342+LeJingS@users.noreply.github.com>
Date: Mon, 2 Dec 2024 21:25:42 +0800
Subject: [PATCH] =?UTF-8?q?2024=E5=B9=B412=E6=9C=882=E6=97=A521:25:40?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
javaweb_ai/.idea/compiler.xml | 4 ++
javaweb_ai/.idea/encodings.xml | 2 +
javaweb_ai/.idea/misc.xml | 3 +
javaweb_ai/.idea/vcs.xml | 1 +
.../mybatis_demo/mapper/UserMapper.class | Bin 1158 -> 1489 bytes
javaweb_ai/http_demo/pom.xml | 67 ++++++++++++++++++
.../http_demo/HttpDemoApplication.java | 13 ++++
.../main/java/top/lejings/http_demo/Path.java | 16 +++++
.../main/java/top/lejings/http_demo/list.java | 29 ++++++++
.../top/lejings/http_demo/pojo/Address.java | 10 +++
.../java/top/lejings/http_demo/pojo/User.java | 13 ++++
.../java/top/lejings/http_demo/shili.java | 59 +++++++++++++++
.../java/top/lejings/http_demo/time_json.java | 19 +++++
.../src/main/resources/application.properties | 1 +
.../http_demo/HttpDemoApplicationTests.java | 13 ++++
.../target/classes/application.properties | 1 +
.../http_demo/HttpDemoApplication.class | Bin 0 -> 755 bytes
.../classes/top/lejings/http_demo/Path.class | Bin 0 -> 1355 bytes
.../classes/top/lejings/http_demo/list.class | Bin 0 -> 1079 bytes
.../top/lejings/http_demo/pojo/Address.class | Bin 0 -> 2352 bytes
.../top/lejings/http_demo/pojo/User.class | Bin 0 -> 3042 bytes
.../classes/top/lejings/http_demo/shili.class | Bin 0 -> 1598 bytes
.../top/lejings/http_demo/time_json.class | Bin 0 -> 965 bytes
.../springwebaiquickstart/yuanshi.java | 52 ++++++++++++++
.../target/classes/application.properties | 1 +
.../lejings/springwebaiquickstart/Hello.class | Bin 0 -> 1270 bytes
.../SpringWebaiQuickstartApplication.class | Bin 0 -> 818 bytes
.../springwebaiquickstart/yuanshi.class | Bin 0 -> 1603 bytes
28 files changed, 304 insertions(+)
create mode 100644 javaweb_ai/http_demo/pom.xml
create mode 100644 javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/HttpDemoApplication.java
create mode 100644 javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/Path.java
create mode 100644 javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/list.java
create mode 100644 javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/pojo/Address.java
create mode 100644 javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/pojo/User.java
create mode 100644 javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/shili.java
create mode 100644 javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/time_json.java
create mode 100644 javaweb_ai/http_demo/src/main/resources/application.properties
create mode 100644 javaweb_ai/http_demo/src/test/java/top/lejings/http_demo/HttpDemoApplicationTests.java
create mode 100644 javaweb_ai/http_demo/target/classes/application.properties
create mode 100644 javaweb_ai/http_demo/target/classes/top/lejings/http_demo/HttpDemoApplication.class
create mode 100644 javaweb_ai/http_demo/target/classes/top/lejings/http_demo/Path.class
create mode 100644 javaweb_ai/http_demo/target/classes/top/lejings/http_demo/list.class
create mode 100644 javaweb_ai/http_demo/target/classes/top/lejings/http_demo/pojo/Address.class
create mode 100644 javaweb_ai/http_demo/target/classes/top/lejings/http_demo/pojo/User.class
create mode 100644 javaweb_ai/http_demo/target/classes/top/lejings/http_demo/shili.class
create mode 100644 javaweb_ai/http_demo/target/classes/top/lejings/http_demo/time_json.class
create mode 100644 javaweb_ai/spring-webai-quickstart/src/main/java/top/lejings/springwebaiquickstart/yuanshi.java
create mode 100644 javaweb_ai/spring-webai-quickstart/target/classes/application.properties
create mode 100644 javaweb_ai/spring-webai-quickstart/target/classes/top/lejings/springwebaiquickstart/Hello.class
create mode 100644 javaweb_ai/spring-webai-quickstart/target/classes/top/lejings/springwebaiquickstart/SpringWebaiQuickstartApplication.class
create mode 100644 javaweb_ai/spring-webai-quickstart/target/classes/top/lejings/springwebaiquickstart/yuanshi.class
diff --git a/javaweb_ai/.idea/compiler.xml b/javaweb_ai/.idea/compiler.xml
index e4e3d73..a4a7111 100644
--- a/javaweb_ai/.idea/compiler.xml
+++ b/javaweb_ai/.idea/compiler.xml
@@ -9,18 +9,22 @@
+
+
diff --git a/javaweb_ai/.idea/encodings.xml b/javaweb_ai/.idea/encodings.xml
index 573b89b..138a748 100644
--- a/javaweb_ai/.idea/encodings.xml
+++ b/javaweb_ai/.idea/encodings.xml
@@ -2,6 +2,8 @@
+
+
diff --git a/javaweb_ai/.idea/misc.xml b/javaweb_ai/.idea/misc.xml
index 228be2d..eebfaa3 100644
--- a/javaweb_ai/.idea/misc.xml
+++ b/javaweb_ai/.idea/misc.xml
@@ -10,11 +10,14 @@
+
+
diff --git a/javaweb_ai/.idea/vcs.xml b/javaweb_ai/.idea/vcs.xml
index 94a25f7..288b36b 100644
--- a/javaweb_ai/.idea/vcs.xml
+++ b/javaweb_ai/.idea/vcs.xml
@@ -1,6 +1,7 @@
+
\ No newline at end of file
diff --git a/javaweb_ai/Mybatis_demo/target/classes/top/lejings/mybatis_demo/mapper/UserMapper.class b/javaweb_ai/Mybatis_demo/target/classes/top/lejings/mybatis_demo/mapper/UserMapper.class
index 89a4cb742511f9b4c7d61a0b1b1e137019e06528..866332809af35f3d551c84ce7a85a4a95617c068 100644
GIT binary patch
delta 312
zcmX|6yGjE=6g@Mmkr+^$MAFEZY&4t350DhG6pKaCMi9pA#4KcI!_0;yNU*bZ*>CUz
zY%RoED}PA5v#7=4p2s~G?qmI{vGei$`UYT#{suV1peWieLFnzZC$WxBmX}r;EfY1;
zQ7Em=Qxh?q_RDwXv!HnLA4pj>Q{zkw#KfeDSWrXcQ)N^|U0Do8_ulzVtc28&nExKD
zqCc@>=$tQf7ANW|w(;#uh0;(ZQ)Z-fn#n9qwPom?rRMHP&gFPo2E19TwvNl(yI||(
zr}uob#vrf{58L!wouf&kOw98}dBMTfu-
Dz8Fo`
delta 61
zcmcb}-Nq?!>ff$?3=9mm49e^bOpFX#6DLY;)C^#rT*DH`$TImH%Th50CI$td3MK|c
P22LQ=yv+#J~Um=)?=S
diff --git a/javaweb_ai/http_demo/pom.xml b/javaweb_ai/http_demo/pom.xml
new file mode 100644
index 0000000..3ed93fb
--- /dev/null
+++ b/javaweb_ai/http_demo/pom.xml
@@ -0,0 +1,67 @@
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 3.4.0
+
+
+ top.lejings
+ http_demo
+ 0.0.1-SNAPSHOT
+ http_demo
+ http_demo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 17
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.projectlombok
+ lombok
+ true
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+ org.projectlombok
+ lombok
+
+
+
+
+
+
+
+
diff --git a/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/HttpDemoApplication.java b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/HttpDemoApplication.java
new file mode 100644
index 0000000..ba9421f
--- /dev/null
+++ b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/HttpDemoApplication.java
@@ -0,0 +1,13 @@
+package top.lejings.http_demo;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class HttpDemoApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(HttpDemoApplication.class, args);
+ }
+
+}
diff --git a/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/Path.java b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/Path.java
new file mode 100644
index 0000000..c9817e0
--- /dev/null
+++ b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/Path.java
@@ -0,0 +1,16 @@
+package top.lejings.http_demo;
+
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+public class Path {
+ //路径参数
+
+ @RequestMapping("/path/{id}")
+ public String pathParam(@PathVariable Integer id) {
+ System.out.println("id:" + id);
+ return "pathParam:" + id;
+ }
+}
diff --git a/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/list.java b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/list.java
new file mode 100644
index 0000000..9cf4fca
--- /dev/null
+++ b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/list.java
@@ -0,0 +1,29 @@
+package top.lejings.http_demo;
+
+//数组集合参数
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.Arrays;
+import java.util.List;
+
+@RestController
+public class list {
+
+// //数组
+// @RequestMapping("/arrayParam")
+// public String arrayParam(String[] hobby){
+// System.out.println(Arrays.toString(hobby));
+// return "ArrayOk";
+// }
+
+ //集合
+ @RequestMapping("/listParam")
+ public String listParam(@RequestParam List hobby){
+ System.out.println(hobby);
+ return "ListOk";
+ }
+
+}
diff --git a/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/pojo/Address.java b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/pojo/Address.java
new file mode 100644
index 0000000..babce3d
--- /dev/null
+++ b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/pojo/Address.java
@@ -0,0 +1,10 @@
+package top.lejings.http_demo.pojo;
+
+import lombok.Data;
+
+@Data
+public class Address {
+private String province;
+private String city;
+
+}
diff --git a/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/pojo/User.java b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/pojo/User.java
new file mode 100644
index 0000000..11b634a
--- /dev/null
+++ b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/pojo/User.java
@@ -0,0 +1,13 @@
+package top.lejings.http_demo.pojo;
+
+import lombok.Data;
+
+@Data
+public class User {
+ private String name;
+ private Integer age;
+ private Address address;
+
+
+
+}
diff --git a/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/shili.java b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/shili.java
new file mode 100644
index 0000000..099a758
--- /dev/null
+++ b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/shili.java
@@ -0,0 +1,59 @@
+package top.lejings.http_demo;
+
+import jakarta.servlet.http.HttpServletRequest;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import top.lejings.http_demo.pojo.User;
+
+@RestController
+public class shili {
+
+ //@RequestParam注解,可以映射请求参数
+
+
+
+
+
+
+ //springboot形式
+
+ @RequestMapping("/simpleParam")
+ public String simpleParam(String name,Integer age){
+ System.out.println("用户名:"+name+",年龄:"+age);
+ return "ok";
+ }
+
+
+ @RequestMapping("/simplepojo")
+ public String simplepojo(User user){
+
+ System.out.println(user);
+
+ return "okpojo";
+ }
+
+
+}
+
+/*
+ *原始方式:
+ * */
+//public class yuanshi {
+//
+//
+// @RequestMapping("/simpleParam")
+// public String simpleParam(HttpServletRequest request){
+// //获取请求参数
+// String name = request.getParameter("name");
+// String ageStr = request.getParameter("age");
+//
+// int age = Integer.parseInt(ageStr);
+// System.out.println("用户名:"+name+",年龄:"+age);
+// return "ok";
+// }
+//
+//
+//
+//
+//
+//}
diff --git a/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/time_json.java b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/time_json.java
new file mode 100644
index 0000000..61ac1e0
--- /dev/null
+++ b/javaweb_ai/http_demo/src/main/java/top/lejings/http_demo/time_json.java
@@ -0,0 +1,19 @@
+package top.lejings.http_demo;
+
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import top.lejings.http_demo.pojo.User;
+
+@RestController
+public class time_json {
+ //日期时间
+
+ //json
+ @RequestMapping("/jsonParam")
+ public String jsonParam(@RequestBody User user){
+ System.out.println(user);
+ return "jsonOk";
+ }
+
+}
diff --git a/javaweb_ai/http_demo/src/main/resources/application.properties b/javaweb_ai/http_demo/src/main/resources/application.properties
new file mode 100644
index 0000000..614265d
--- /dev/null
+++ b/javaweb_ai/http_demo/src/main/resources/application.properties
@@ -0,0 +1 @@
+spring.application.name=http_demo
diff --git a/javaweb_ai/http_demo/src/test/java/top/lejings/http_demo/HttpDemoApplicationTests.java b/javaweb_ai/http_demo/src/test/java/top/lejings/http_demo/HttpDemoApplicationTests.java
new file mode 100644
index 0000000..9fc7b53
--- /dev/null
+++ b/javaweb_ai/http_demo/src/test/java/top/lejings/http_demo/HttpDemoApplicationTests.java
@@ -0,0 +1,13 @@
+package top.lejings.http_demo;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class HttpDemoApplicationTests {
+
+ @Test
+ void contextLoads() {
+ }
+
+}
diff --git a/javaweb_ai/http_demo/target/classes/application.properties b/javaweb_ai/http_demo/target/classes/application.properties
new file mode 100644
index 0000000..614265d
--- /dev/null
+++ b/javaweb_ai/http_demo/target/classes/application.properties
@@ -0,0 +1 @@
+spring.application.name=http_demo
diff --git a/javaweb_ai/http_demo/target/classes/top/lejings/http_demo/HttpDemoApplication.class b/javaweb_ai/http_demo/target/classes/top/lejings/http_demo/HttpDemoApplication.class
new file mode 100644
index 0000000000000000000000000000000000000000..3698c7932771bca41b98527d482402653ebc0b86
GIT binary patch
literal 755
zcma)4O>fgc5Ph2_b(#iRQd-&q2X0A_*c+EXB^rb{7+N(b95|r0vvoGuyViOQ{H>l^
z^}r9{M^&9QmFj~JSn|y7e7u=`Gk#
zhYVw56JF$&63?y3d)XO*#*N#$&*8KPl$-_kS{MKSqSv&@_an~cIH*-k`dlTY6;Uc{CCKdE6NdKGEF{BLsI>fCW|6dCd@REtG_gqM!YY5iGq&AQ6$~%K
z|E9s0$b_Qj>(k;#6RCv;yv=rEznbOAcgYs?eH&Fk|)5dUc
zR%)j*Iah`9&)3?xYBYp#)W}*j4^cWp^i{OUyXhR$plb9@@B#sCkN;X=et$@A(T$U4
zq&wqFu#3vQP13tTDUV3@{{>)x9lCAcF?I>WC%>-1fbJj|Ut#0xeZF5+&_V^+tYLJq
ZhbLs;r@uo4lWO6hl81Oo+LwI>+yYDG#v}j$
literal 0
HcmV?d00001
diff --git a/javaweb_ai/http_demo/target/classes/top/lejings/http_demo/Path.class b/javaweb_ai/http_demo/target/classes/top/lejings/http_demo/Path.class
new file mode 100644
index 0000000000000000000000000000000000000000..bff3d491e27e046dd1413758008092e7a8804385
GIT binary patch
literal 1355
zcmb7EZBG+H5Pr6_9F$tH2ngak$eVJ$B2qBXCPZRULP`C=2eWP0cIkEZyxT&E@qhR;
z)DN2Q!5`p{GS2o2wh@h9vU@wTGtbOCJGIzp4GnoS~uVF%|@
z7{MsR@F@`)9N)(G6s6P&+lH7cX26hkFwQVxwC{RikDx=hW{m&3A{vxGH#LTMPFDoO
zU|uTmqS+{kV277H(q!_w%)KHHq?OysxT#4hWHSF}$Sgy@PtaRD;KW)?R;YrG8jtHH
zjyHv==}OB`7!eTg_;ynn*$_n;N{aeKDQ&osL?Od+UI$e-v}IS{5VknbLESwNCATD1
z#pNfq?zVW_6rtJVzHjMdNbGa3Ni`*1o0yCAjMpw|Ke-3KtJZ6hRCJVY5
zl*PKVT=v_|MSG0@S4L>4drY7`j~aytd#bewO~Cz#xv&q5bb_+7!uoKVVc>-K6*kz5
zyGh)`eFqP0V=ggF{kj5D?d!U5qh^VEb)A=u4h|VUbhcC5FpBq#tBNPWsl3+prl0LN
z)OOc(Xu2GC4t;To`EG}ObSb-TLmMK;J+B~*AOcbwN{Jxn@h}vjgGUV0ztwbFst(Bc
z(%((#J&5YURh*}{!+tTkL-cykJVBC6e@6er{8z9~t?dgm+ilS6F-dbOGQdS#B8lNL
zh7fN#KPNB?I{X>V!V%5@UvQQdW57pJ$6%rCn+4iSA>D!-ja=GrP0^U%1q*QlGo*8DuCug=V~*w+=3AyV*#(ks(nyo`4#~G#vx|qMOOm{d6|7?X
ECptxFi2wiq
literal 0
HcmV?d00001
diff --git a/javaweb_ai/http_demo/target/classes/top/lejings/http_demo/list.class b/javaweb_ai/http_demo/target/classes/top/lejings/http_demo/list.class
new file mode 100644
index 0000000000000000000000000000000000000000..2eadfc380b89547a0b5c7b171b51750da39eef46
GIT binary patch
literal 1079
zcmb7DT~8B16g|_grL{mUQUyQ3sx2tmul=05CBE|Z^COeaR@44rmd++YgU*CTKc!jM3Qb>Eq6p=-ap>!h71P_Gn@dN)v
zb}U0~M`>ku8Pc_SJC8Z!Jrs(#f#MXrHHxep5X!`qwA@UHl;MY=(zazoDF%%K7O?1{
zRK!h`8J1>X7`&m&2sDw@#w?fQH0td++#*p;71@JR4;6-0Ylb|KCrbAs-nVx6zAFcY
z2ZUhA?3u1)SZpdS-^K%9hR4DW$Wv~bjtJT!RL-6_Gq$fHhI`HbQ#Kg#j`~o9g4(T4
zG{#m1+=*(`FNvnUNfo7J`^NW2G_Y~-FPfn;Eo3zOBc^%V~ErR|$;qDNX8
zlKy;4^|Y{YNPTW!6*!Y-rs$QUSX(uaZ51h+(QB=Z6;>HdCAOO;?D5F$s`r5=AC
z%Fm_GeWklxTwwW;{20r~?u+4YGK(`2#H6f{tY|XF_32s{-AomIdEKH34b7;~GI7|E
zZB7J~
zR_H8_0a(RdvgmWeeIjtl$3*5x3t!-Ee#Lxw=@VILI0pBpg7Q7eb1aoHa>C-`5AcxK
z9#L#u!Fkrmvre8YBLjF$ZwggBp?iTsPw9R34lF_qb@F*m{6+%WOwQ*C)Tw^~{00fQ
B74854
literal 0
HcmV?d00001
diff --git a/javaweb_ai/http_demo/target/classes/top/lejings/http_demo/pojo/Address.class b/javaweb_ai/http_demo/target/classes/top/lejings/http_demo/pojo/Address.class
new file mode 100644
index 0000000000000000000000000000000000000000..c81724384259141e64f2386b4dcb0db554855129
GIT binary patch
literal 2352
zcma)7T~8ZF6g^|_dKa^RLj#EmO-VvpKI5cGTVew(arjDspb$~1eP|bZg%`}O>m88t
zPpbZa^1?$awN%PO)xIQBe?xypADgCUylYsDRVs|<&Ye4F&OP_e_>X^H{0d+O>uDsA
zG@x0~krK%4*avp5YJ1zcCtEvCNeZN}F
zS?I-E+*-1|`ET~^szBdJY;VY|F#3fG?z7O3D*~O{j$A)E>hj2FY(sRI$~J4^ZH1k3
z6mXyr1}(g!5DX#|8x#_F*TN94lS0J~Dn-9c_7q^bm$KcoFpOIQSN7~(r|5enTYm0J
z26=(BJ;{`(;$)+<&$DSmkQ#(%^{lv_v$nst<Lor2vJ_6
zn{1m^M^^mux?Q*T9O=}FW^kj@Qb71;3m+9vK=)ch#;%a_H+%msjU`lzvE`fE)gPz2q#oN@OeQ
z+S{s6nb$+#mw~L?wJ^cJM3FK^K_gAdGh$*$;m(NBo)qTOSiquzCDkS*GJM+eu6N+?
zI=S%ZuyYpdlJx6L?Av(HM1kR{OSV_8I>GRY@9*x{3g;Us<~g(R+4GvyCj84-eDfy7
zToFXku2wf(>97f`WseS`oHk11}E@6=ivF6M(qD0GlMKD<73}L*N(=2hxr}!4Mdig?e!{?wo$|U|AB=Je39G_y2qe;X^{C|kY
NoTX`f#&&pu?7y)Mw}b!y
literal 0
HcmV?d00001
diff --git a/javaweb_ai/http_demo/target/classes/top/lejings/http_demo/pojo/User.class b/javaweb_ai/http_demo/target/classes/top/lejings/http_demo/pojo/User.class
new file mode 100644
index 0000000000000000000000000000000000000000..1674ca1d27aabf06e6f54c38c80233e958cfc501
GIT binary patch
literal 3042
zcma)8T~icC6g|z(7we#if^Ia5$*O$1`Ht?2iYQ9t!-!&{COYhnFtE&!oq@z3;d?4S
zAinsJR3#?mLn?VORryUZ=JfOo49gZ;uruAaPoKW`+}n5epZ}i!0bm3V^JqiPgl0pB
zA<((xtUIN;<1dtE=9k=RBw(ENd@njDkn8K8Ylnq)6L}lEU<(|Lg4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target/classes/top/lejings/http_demo/shili.class
new file mode 100644
index 0000000000000000000000000000000000000000..640bb706991c89e8ba9d3f41977402cd11b8fa97
GIT binary patch
literal 1598
zcmb7EU2hXd6g}fO*<>-qbxP6%2%!X;0A)+tln?V6w^5M{MF~wGc&Ntq)Sh@fv+Rt6
z^4^C&6sZq=sQL?d1cX2!#1G(q(5g@TgQ|CS7vcmLgr)J!y>srpXU?73=l?!=2H+f)
zeB?0TAz#2Ch8T)#e4Pg&SIywN+M1|ahM}`kNqe4QU~YbO1j88d;1{q1g)Q)v4P!-z
zP`XP&yQ@hese@~=RCdM2f_KU#s=2FxQ4|>_I=n3^TGhGzLE09rjOEH2hSPItaKeHj
zrD~RYJeQRfO%a#pdwdznM+svdJ}h82#u>)?aA5Ev$0$@pvQMG;)nRp}{^LClgx^iZTEGqhf&d4T5PeRxNYJ;6@kAwDQg
z+$CR{$9+73aoU+ka?PapEEh%MFg{807cqxYx15PeRQZnK1@q_j}JO3PPLBz&rb6hNYtIHj~|AQujmlbFQmuDy7@t@^Kk
z14tbB0sJV$cvFQ$qC#D1y*r*aZ{Cc@zkdJt3E(BRLKH9;pjbf(^9)NPaUysm^nmYo
zN3!P_=3gkS+$)B;dZSau0?Glx3a+3s18<+DPR4{X83nDhaw28;fmPbIos}YPhFC;3
zz)}U*P-9sB2ZkX?d_<&)q&{YulGAK-7I2+JjZ&lcj{~eStUHtNNRE^qqblFGHiO#4bZDpgd%
zYpsnFP8m(U=PhFgJoWt?d?bzX)YxNwD!aU^bf1d}mLJMbnM~cDNRqLr(us&NYEa0h
zD%_mSHIXrsbo;VNcTE3`+7Px)W_$9D^5?QRIlO0nMlM%M>UNEG)8F4v
M`C8ARUSk9J1CI*&KL7v#
literal 0
HcmV?d00001
diff --git a/javaweb_ai/spring-webai-quickstart/src/main/java/top/lejings/springwebaiquickstart/yuanshi.java b/javaweb_ai/spring-webai-quickstart/src/main/java/top/lejings/springwebaiquickstart/yuanshi.java
new file mode 100644
index 0000000..928a01f
--- /dev/null
+++ b/javaweb_ai/spring-webai-quickstart/src/main/java/top/lejings/springwebaiquickstart/yuanshi.java
@@ -0,0 +1,52 @@
+package top.lejings.springwebaiquickstart;
+
+import jakarta.servlet.http.HttpServletRequest;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+public class yuanshi {
+
+ //springboot形式
+
+ @RequestMapping("/simpleParam")
+ public String simpleParam(String name,Integer age){
+ System.out.println("用户名:"+name+",年龄:"+age);
+ return "ok";
+ }
+
+
+}
+
+/*
+ *
+ * 原始方式:
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ * */
+//public class yuanshi {
+//
+//
+// @RequestMapping("/simpleParam")
+// public String simpleParam(HttpServletRequest request){
+// //获取请求参数
+// String name = request.getParameter("name");
+// String ageStr = request.getParameter("age");
+//
+// int age = Integer.parseInt(ageStr);
+// System.out.println("用户名:"+name+",年龄:"+age);
+// return "ok";
+// }
+//
+//
+//
+//
+//
+//}
diff --git a/javaweb_ai/spring-webai-quickstart/target/classes/application.properties b/javaweb_ai/spring-webai-quickstart/target/classes/application.properties
new file mode 100644
index 0000000..1675bff
--- /dev/null
+++ b/javaweb_ai/spring-webai-quickstart/target/classes/application.properties
@@ -0,0 +1 @@
+spring.application.name=spring-webai-quickstart
diff --git a/javaweb_ai/spring-webai-quickstart/target/classes/top/lejings/springwebaiquickstart/Hello.class b/javaweb_ai/spring-webai-quickstart/target/classes/top/lejings/springwebaiquickstart/Hello.class
new file mode 100644
index 0000000000000000000000000000000000000000..39d918ba95d9d92f1ee658df8c69d7ba5308b570
GIT binary patch
literal 1270
zcmb7ETTc@~6#k~P-BK&mA|PH-xfPW4E?Q%vO$f%Kgp&He)3hDiq1&0VI}72(-{H?t
zA2i{?AK;HNp4qJep)tD2&hEK==R0T4%#WXk-vN|S$|8Xw2gw{#NHgSj_#SsXu3GNf
z`i^KAhV(P3qyP<4!h?;NQHQ{-hAz9WVOEx<{HqMK`!t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