-
大小: 89KB文件類型: .rar金幣: 1下載: 0 次發布日期: 2021-01-06
- 語言: 數據庫
- 標簽: srpingboot_m??
資源簡介
Spring Boot之springboot+mysql+mybatis源碼,該代碼適合初學者學習,可以直接導入IDEA,如運行有其他問題,請留言。。。。
代碼片段和文件信息
package?com.yangkai.controller;
import?com.yangkai.entity.User;
import?com.yangkai.mapper.UserMapper;
import?com.yangkai.service.UserService;
import?org.springframework.beans.factory.annotation.Autowired;
import?org.springframework.stereotype.Controller;
import?org.springframework.web.bind.annotation.PathVariable;
import?org.springframework.web.bind.annotation.RequestMapping;
import?org.springframework.web.bind.annotation.ResponseBody;
import?javax.annotation.Resource;
import?java.util.List;
@Controller
public?class?HelloController?{
????@Autowired
????private?UserService?userService;
????@RequestMapping(“/hello/{name}“)
????@ResponseBody
????private??String?home(@PathVariable?String?name)?{
????????System.out.println(name);
????????return?“Hello?spring?boot
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????268??2018-07-02?16:02??springboot_helloworld\.gitignore
?????文件????????654??2018-07-02?16:03??springboot_helloworld\.idea\compiler.xm
?????文件????????172??2018-07-02?16:03??springboot_helloworld\.idea\encodings.xm
?????文件????????568??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xm
?????文件????????547??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xm
?????文件????????486??2018-07-02?17:13??springboot_helloworld\.idea\libraries\Maven__com_alibaba_druid_1_1_0.xm
?????文件????????626??2018-07-02?17:13??springboot_helloworld\.idea\libraries\Maven__com_alibaba_druid_spring_boot_starter_1_1_0.xm
?????文件????????522??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__com_fasterxm
?????文件????????644??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__com_fasterxm
?????文件????????595??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__com_fasterxm
?????文件????????623??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__com_fasterxm
?????文件????????674??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__com_fasterxm
?????文件????????688??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__com_fasterxm
?????文件????????729??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__com_fasterxm
?????文件????????546??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xm
?????文件????????700??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xm
?????文件????????503??2018-07-02?16:18??springboot_helloworld\.idea\libraries\Maven__com_zaxxer_HikariCP_2_7_9.xm
?????文件????????611??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__javax_annotation_javax_annotation_api_1_3_2.xm
?????文件????????611??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__javax_validation_validation_api_2_0_1_Final.xm
?????文件????????455??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__junit_junit_4_12.xm
?????文件????????574??2018-07-02?16:19??springboot_helloworld\.idea\libraries\Maven__mysql_mysql_connector_java_5_1_46.xm
?????文件????????536??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__net_bytebuddy_byte_buddy_1_7_11.xm
?????文件????????578??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xm
?????文件????????542??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__net_minidev_accessors_smart_1_2.xm
?????文件????????507??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__net_minidev_json_smart_2_3.xm
?????文件????????573??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__org_apache_logging_log4j_log4j_api_2_10_0.xm
?????文件????????608??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xm
?????文件????????625??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__org_apache_tomcat_em
?????文件????????611??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__org_apache_tomcat_em
?????文件????????660??2018-07-02?16:03??springboot_helloworld\.idea\libraries\Maven__org_apache_tomcat_em
............此處省略120個文件信息
- 上一篇:SQL查詢語句大全集錦(超經典)
- 下一篇:快遞100物流公司編碼sql
評論
共有 條評論