{"id":988726,"date":"2024-12-27T08:04:48","date_gmt":"2024-12-27T00:04:48","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/988726.html"},"modified":"2024-12-27T08:04:54","modified_gmt":"2024-12-27T00:04:54","slug":"python%e5%a6%82%e4%bd%95%e6%90%ad%e5%bb%bassm%e6%a1%86%e6%9e%b6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/988726.html","title":{"rendered":"python\u5982\u4f55\u642d\u5efassm\u6846\u67b6"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25064242\/9e8cf5a2-9b65-4534-9e35-e570026b7ead.webp\" alt=\"python\u5982\u4f55\u642d\u5efassm\u6846\u67b6\" \/><\/p>\n<p><p> <strong>\u642d\u5efaSSM\u6846\u67b6\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5\u548c\u914d\u7f6e\u5f00\u53d1\u73af\u5883\u3001\u521b\u5efaMaven\u9879\u76ee\u3001\u914d\u7f6eSpring\u3001\u914d\u7f6eSpring MVC\u3001\u914d\u7f6eMyBatis\u3001\u6574\u5408\u5404\u7ec4\u4ef6\u3002<\/strong>\u5728\u8fd9\u4e9b\u6b65\u9aa4\u4e2d\uff0c\u6574\u5408\u5404\u7ec4\u4ef6\u662f\u6700\u5173\u952e\u7684\u4e00\u6b65\uff0c\u56e0\u4e3a\u5b83\u6d89\u53ca\u5230\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u7684\u534f\u4f5c\u4e0e\u901a\u4fe1\u3002\u901a\u8fc7\u914d\u7f6eSpring\u7684\u6838\u5fc3\u5bb9\u5668\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06Spring MVC\u548cMyBatis\u65e0\u7f1d\u96c6\u6210\u5728\u4e00\u8d77\uff0c\u5b9e\u73b0\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u4e14\u7075\u6d3b\u7684SSM\u6846\u67b6\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5\u548c\u914d\u7f6e\u5f00\u53d1\u73af\u5883<\/p>\n<\/p>\n<p><p>\u5728\u642d\u5efaSSM\u6846\u67b6\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u51c6\u5907\u5f00\u53d1\u73af\u5883\u3002\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u5de5\u5177\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Java JDK<\/strong>\uff1a\u786e\u4fdd\u5df2\u5b89\u88c5Java Development Kit\uff0c\u5efa\u8bae\u4f7f\u7528JDK 8\u6216\u4ee5\u4e0a\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Apache Maven<\/strong>\uff1aMaven\u662f\u4e00\u4e2a<a href=\"https:\/\/docs.pingcode.com\/blog\/project-management\/23316.html\" target=\"_blank\">\u9879\u76ee\u7ba1\u7406<\/a>\u5de5\u5177\uff0c\u80fd\u591f\u5e2e\u52a9\u6211\u4eec\u7ba1\u7406\u9879\u76ee\u4f9d\u8d56\u548c\u6784\u5efa\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>IDE\uff08\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff09<\/strong>\uff1a\u63a8\u8350\u4f7f\u7528IntelliJ IDEA\u6216Eclipse\uff0c\u4ee5\u4fbf\u4e8e\u4ee3\u7801\u5f00\u53d1\u548c\u8c03\u8bd5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Tomcat\u670d\u52a1\u5668<\/strong>\uff1a\u7528\u4e8e\u90e8\u7f72\u548c\u8fd0\u884cWeb\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u786e\u4fdd\u4ee5\u4e0a\u5de5\u5177\u5df2\u6b63\u786e\u5b89\u88c5\uff0c\u5e76\u914d\u7f6e\u597d\u76f8\u5e94\u7684\u73af\u5883\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u521b\u5efaMaven\u9879\u76ee<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u9879\u76ee<\/strong>\uff1a\u5728IDE\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Maven\u9879\u76ee\uff0c\u9009\u62e9\u5408\u9002\u7684GroupId\u548cArtifactId\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6ePOM\u6587\u4ef6<\/strong>\uff1a\u7f16\u8f91\u9879\u76ee\u7684<code>pom.xml<\/code>\u6587\u4ef6\uff0c\u6dfb\u52a0\u5fc5\u8981\u7684\u4f9d\u8d56\u9879\u3002\u5bf9\u4e8eSSM\u6846\u67b6\uff0c\u901a\u5e38\u9700\u8981\u6dfb\u52a0Spring\u3001Spring MVC\u3001MyBatis\u3001\u4ee5\u53ca\u6570\u636e\u5e93\u8fde\u63a5\u6c60\uff08\u5982HikariCP\u6216Druid\uff09\u7684\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><pre><code class=\"language-xml\">&lt;dependencies&gt;<\/p>\n<p>    &lt;!-- Spring framework dependencies --&gt;<\/p>\n<p>    &lt;dependency&gt;<\/p>\n<p>        &lt;groupId&gt;org.springframework&lt;\/groupId&gt;<\/p>\n<p>        &lt;artifactId&gt;spring-context&lt;\/artifactId&gt;<\/p>\n<p>        &lt;version&gt;5.3.8&lt;\/version&gt;<\/p>\n<p>    &lt;\/dependency&gt;<\/p>\n<p>    &lt;dependency&gt;<\/p>\n<p>        &lt;groupId&gt;org.springframework&lt;\/groupId&gt;<\/p>\n<p>        &lt;artifactId&gt;spring-webmvc&lt;\/artifactId&gt;<\/p>\n<p>        &lt;version&gt;5.3.8&lt;\/version&gt;<\/p>\n<p>    &lt;\/dependency&gt;<\/p>\n<p>    &lt;!-- MyBatis dependencies --&gt;<\/p>\n<p>    &lt;dependency&gt;<\/p>\n<p>        &lt;groupId&gt;org.mybatis.spring&lt;\/groupId&gt;<\/p>\n<p>        &lt;artifactId&gt;mybatis-spring&lt;\/artifactId&gt;<\/p>\n<p>        &lt;version&gt;2.0.6&lt;\/version&gt;<\/p>\n<p>    &lt;\/dependency&gt;<\/p>\n<p>    &lt;!-- Database connection pool --&gt;<\/p>\n<p>    &lt;dependency&gt;<\/p>\n<p>        &lt;groupId&gt;com.zaxxer&lt;\/groupId&gt;<\/p>\n<p>        &lt;artifactId&gt;HikariCP&lt;\/artifactId&gt;<\/p>\n<p>        &lt;version&gt;5.0.0&lt;\/version&gt;<\/p>\n<p>    &lt;\/dependency&gt;<\/p>\n<p>&lt;\/dependencies&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001\u914d\u7f6eSpring<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efaSpring\u914d\u7f6e\u6587\u4ef6<\/strong>\uff1a\u5728<code>src\/m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n\/resources<\/code>\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a<code>applicationContext.xml<\/code>\u6587\u4ef6\uff0c\u5b9a\u4e49Spring\u7684\u6838\u5fc3\u5bb9\u5668\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b9a\u4e49Bean<\/strong>\uff1a\u5728Spring\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u5b9a\u4e49\u9700\u8981\u7ba1\u7406\u7684Bean\uff0c\u5982\u6570\u636e\u6e90\u3001\u4e8b\u52a1\u7ba1\u7406\u5668\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><pre><code class=\"language-xml\">&lt;beans xmlns=&quot;http:\/\/www.springframework.org\/schema\/beans&quot;<\/p>\n<p>       xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;<\/p>\n<p>       xsi:schemaLocation=&quot;http:\/\/www.springframework.org\/schema\/beans<\/p>\n<p>           http:\/\/www.springframework.org\/schema\/beans\/spring-beans.xsd&quot;&gt;<\/p>\n<p>    &lt;!-- DataSource bean --&gt;<\/p>\n<p>    &lt;bean id=&quot;dataSource&quot; class=&quot;com.zaxxer.hikari.HikariDataSource&quot;&gt;<\/p>\n<p>        &lt;property name=&quot;driverClassName&quot; value=&quot;com.mysql.cj.jdbc.Driver&quot;\/&gt;<\/p>\n<p>        &lt;property name=&quot;jdbcUrl&quot; value=&quot;jdbc:mysql:\/\/localhost:3306\/yourdatabase&quot;\/&gt;<\/p>\n<p>        &lt;property name=&quot;username&quot; value=&quot;yourusername&quot;\/&gt;<\/p>\n<p>        &lt;property name=&quot;password&quot; value=&quot;yourpassword&quot;\/&gt;<\/p>\n<p>    &lt;\/bean&gt;<\/p>\n<p>    &lt;!-- Transaction manager --&gt;<\/p>\n<p>    &lt;bean id=&quot;transactionManager&quot; class=&quot;org.springframework.jdbc.datasource.DataSourceTransactionManager&quot;&gt;<\/p>\n<p>        &lt;property name=&quot;dataSource&quot; ref=&quot;dataSource&quot;\/&gt;<\/p>\n<p>    &lt;\/bean&gt;<\/p>\n<p>&lt;\/beans&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u914d\u7f6eSpring MVC<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efaSpring MVC\u914d\u7f6e\u6587\u4ef6<\/strong>\uff1a\u5728<code>src\/main\/resources<\/code>\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a<code>spring-mvc.xml<\/code>\u6587\u4ef6\uff0c\u7528\u4e8e\u914d\u7f6eSpring MVC\u76f8\u5173\u8bbe\u7f6e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e\u89c6\u56fe\u89e3\u6790\u5668<\/strong>\uff1a\u5728Spring MVC\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u5b9a\u4e49\u89c6\u56fe\u89e3\u6790\u5668\u4ee5\u4fbf\u89e3\u6790\u89c6\u56fe\u540d\u79f0\u5e76\u8fd4\u56de\u5b9e\u9645\u7684\u89c6\u56fe\u9875\u9762\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><pre><code class=\"language-xml\">&lt;beans xmlns=&quot;http:\/\/www.springframework.org\/schema\/beans&quot;<\/p>\n<p>       xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;<\/p>\n<p>       xsi:schemaLocation=&quot;http:\/\/www.springframework.org\/schema\/beans<\/p>\n<p>           http:\/\/www.springframework.org\/schema\/beans\/spring-beans.xsd&quot;&gt;<\/p>\n<p>    &lt;!-- Enable Spring MVC annotation-driven --&gt;<\/p>\n<p>    &lt;mvc:annotation-driven\/&gt;<\/p>\n<p>    &lt;!-- View resolver --&gt;<\/p>\n<p>    &lt;bean class=&quot;org.springframework.web.servlet.view.InternalResourceViewResolver&quot;&gt;<\/p>\n<p>        &lt;property name=&quot;prefix&quot; value=&quot;\/WEB-INF\/views\/&quot;\/&gt;<\/p>\n<p>        &lt;property name=&quot;suffix&quot; value=&quot;.jsp&quot;\/&gt;<\/p>\n<p>    &lt;\/bean&gt;<\/p>\n<p>&lt;\/beans&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e94\u3001\u914d\u7f6eMyBatis<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efaMyBatis\u914d\u7f6e\u6587\u4ef6<\/strong>\uff1a\u5728<code>src\/main\/resources<\/code>\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a<code>mybatis-config.xml<\/code>\u6587\u4ef6\uff0c\u5b9a\u4e49MyBatis\u7684\u5168\u5c40\u914d\u7f6e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e\u6570\u636e\u6e90\u548cSqlSessionFactory<\/strong>\uff1a\u5728Spring\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u914d\u7f6eMyBatis\u6240\u9700\u7684\u6570\u636e\u6e90\u548cSqlSessionFactory\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><pre><code class=\"language-xml\">&lt;configuration&gt;<\/p>\n<p>    &lt;environments default=&quot;development&quot;&gt;<\/p>\n<p>        &lt;environment id=&quot;development&quot;&gt;<\/p>\n<p>            &lt;transactionManager type=&quot;JDBC&quot;\/&gt;<\/p>\n<p>            &lt;dataSource type=&quot;POOLED&quot;&gt;<\/p>\n<p>                &lt;property name=&quot;driver&quot; value=&quot;com.mysql.cj.jdbc.Driver&quot;\/&gt;<\/p>\n<p>                &lt;property name=&quot;url&quot; value=&quot;jdbc:mysql:\/\/localhost:3306\/yourdatabase&quot;\/&gt;<\/p>\n<p>                &lt;property name=&quot;username&quot; value=&quot;yourusername&quot;\/&gt;<\/p>\n<p>                &lt;property name=&quot;password&quot; value=&quot;yourpassword&quot;\/&gt;<\/p>\n<p>            &lt;\/dataSource&gt;<\/p>\n<p>        &lt;\/environment&gt;<\/p>\n<p>    &lt;\/environments&gt;<\/p>\n<p>    &lt;mappers&gt;<\/p>\n<p>        &lt;mapper resource=&quot;mybatis\/mapper\/YourMapper.xml&quot;\/&gt;<\/p>\n<p>    &lt;\/mappers&gt;<\/p>\n<p>&lt;\/configuration&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u516d\u3001\u6574\u5408\u5404\u7ec4\u4ef6<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521d\u59cb\u5316Spring\u5bb9\u5668<\/strong>\uff1a\u5728<code>web.xml<\/code>\u6587\u4ef6\u4e2d\uff0c\u914d\u7f6eSpring\u7684<code>ContextLoaderListener<\/code>\uff0c\u4ee5\u4fbf\u5728\u5e94\u7528\u542f\u52a8\u65f6\u52a0\u8f7dSpring\u4e0a\u4e0b\u6587\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6eDispatcherServlet<\/strong>\uff1a\u5728<code>web.xml<\/code>\u6587\u4ef6\u4e2d\uff0c\u914d\u7f6eSpring MVC\u7684<code>DispatcherServlet<\/code>\uff0c\u5b83\u662f\u524d\u7aef\u63a7\u5236\u5668\uff0c\u8d1f\u8d23\u5206\u53d1\u8bf7\u6c42\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><pre><code class=\"language-xml\">&lt;web-app xmlns=&quot;http:\/\/xmlns.jcp.org\/xml\/ns\/javaee&quot;<\/p>\n<p>         xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;<\/p>\n<p>         xsi:schemaLocation=&quot;http:\/\/xmlns.jcp.org\/xml\/ns\/javaee<\/p>\n<p>             http:\/\/xmlns.jcp.org\/xml\/ns\/javaee\/web-app_3_1.xsd&quot;<\/p>\n<p>         version=&quot;3.1&quot;&gt;<\/p>\n<p>    &lt;!-- Spring ContextLoaderListener --&gt;<\/p>\n<p>    &lt;listener&gt;<\/p>\n<p>        &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;\/listener-class&gt;<\/p>\n<p>    &lt;\/listener&gt;<\/p>\n<p>    &lt;!-- DispatcherServlet --&gt;<\/p>\n<p>    &lt;servlet&gt;<\/p>\n<p>        &lt;servlet-name&gt;dispatcher&lt;\/servlet-name&gt;<\/p>\n<p>        &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;\/servlet-class&gt;<\/p>\n<p>        &lt;init-param&gt;<\/p>\n<p>            &lt;param-name&gt;contextConfigLocation&lt;\/param-name&gt;<\/p>\n<p>            &lt;param-value&gt;\/WEB-INF\/spring-mvc.xml&lt;\/param-value&gt;<\/p>\n<p>        &lt;\/init-param&gt;<\/p>\n<p>        &lt;load-on-startup&gt;1&lt;\/load-on-startup&gt;<\/p>\n<p>    &lt;\/servlet&gt;<\/p>\n<p>    &lt;servlet-mapping&gt;<\/p>\n<p>        &lt;servlet-name&gt;dispatcher&lt;\/servlet-name&gt;<\/p>\n<p>        &lt;url-pattern&gt;\/&lt;\/url-pattern&gt;<\/p>\n<p>    &lt;\/servlet-mapping&gt;<\/p>\n<p>&lt;\/web-app&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u6210\u529f\u642d\u5efa\u4e86\u4e00\u4e2a\u57fa\u672c\u7684SSM\u6846\u67b6\u3002\u8fd9\u4e2a\u6846\u67b6\u53ef\u4ee5\u4f5c\u4e3a\u9879\u76ee\u5f00\u53d1\u7684\u57fa\u7840\uff0c\u5229\u7528Spring\u7684\u4f9d\u8d56\u6ce8\u5165\u548c\u63a7\u5236\u53cd\u8f6c\u529f\u80fd\uff0c\u7ed3\u5408Spring MVC\u7684\u8bf7\u6c42\u5904\u7406\u80fd\u529b\u4ee5\u53caMyBatis\u7684\u6570\u636e\u5e93\u8bbf\u95ee\u529f\u80fd\uff0c\u5f00\u53d1\u51fa\u9ad8\u6548\u4e14\u53ef\u7ef4\u62a4\u7684Java Web\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u9879\u76ee\u9700\u6c42\uff0c\u8fdb\u4e00\u6b65\u6269\u5c55\u548c\u4f18\u5316\u8fd9\u4e2a\u6846\u67b6\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728\u642d\u5efaSSM\u6846\u67b6\u65f6\uff0cPython\u662f\u5426\u6709\u7c7b\u4f3c\u7684\u6846\u67b6\u63a8\u8350\uff1f<\/strong><br \/>\u867d\u7136SSM\u6846\u67b6\uff08Spring+SpringMVC+MyBatis\uff09\u662f\u57fa\u4e8eJava\u7684\uff0c\u4f46\u5728Python\u4e2d\u6709\u4e00\u4e9b\u7c7b\u4f3c\u7684\u6846\u67b6\u53ef\u4ee5\u4f7f\u7528\u3002\u4f8b\u5982\uff0cDjango\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684Web\u6846\u67b6\uff0c\u63d0\u4f9b\u4e86MVC\u67b6\u6784\u7684\u652f\u6301\uff0cFlask\u5219\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684Web\u6846\u67b6\uff0c\u9002\u5408\u4e8e\u5feb\u901f\u5f00\u53d1\u548c\u7075\u6d3b\u7684\u9879\u76ee\u9700\u6c42\u3002\u5b83\u4eec\u90fd\u53ef\u4ee5\u4e0e\u6570\u636e\u5e93\u8fdb\u884c\u4ea4\u4e92\uff0c\u652f\u6301ORM\uff08\u5bf9\u8c61\u5173\u7cfb\u6620\u5c04\uff09\u7b49\u529f\u80fd\uff0c\u6ee1\u8db3\u591a\u79cd\u5e94\u7528\u573a\u666f\u3002<\/p>\n<p><strong>\u5728\u4f7f\u7528Python\u642d\u5efaSSM\u6846\u67b6\u65f6\uff0c\u5982\u4f55\u5904\u7406\u6570\u636e\u5e93\u8fde\u63a5\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u5904\u7406\u6570\u636e\u5e93\u8fde\u63a5\u53ef\u4ee5\u4f7f\u7528ORM\u5de5\u5177\uff0c\u6bd4\u5982SQLAlchemy\u6216\u8005Django ORM\u3002\u8fd9\u4e9b\u5de5\u5177\u7b80\u5316\u4e86\u6570\u636e\u5e93\u64cd\u4f5c\uff0c\u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u901a\u8fc7Python\u5bf9\u8c61\u4e0e\u6570\u636e\u5e93\u8fdb\u884c\u4ea4\u4e92\uff0c\u800c\u65e0\u9700\u624b\u52a8\u7f16\u5199SQL\u8bed\u53e5\u3002\u540c\u65f6\uff0c\u5b83\u4eec\u63d0\u4f9b\u4e86\u8fde\u63a5\u6c60\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u6709\u6548\u7ba1\u7406\u6570\u636e\u5e93\u8fde\u63a5\uff0c\u63d0\u5347\u5e94\u7528\u6027\u80fd\u3002<\/p>\n<p><strong>\u662f\u5426\u6709\u5fc5\u8981\u5728Python\u9879\u76ee\u4e2d\u4f7f\u7528SSM\u6846\u67b6\u7684\u7406\u5ff5\uff1f<\/strong><br \/>\u5c3d\u7ba1SSM\u6846\u67b6\u7684\u5177\u4f53\u5b9e\u73b0\u662f\u57fa\u4e8eJava\uff0c\u4f46\u5176\u5206\u5c42\u67b6\u6784\u7684\u7406\u5ff5\u5728Python\u9879\u76ee\u4e2d\u540c\u6837\u9002\u7528\u3002\u901a\u8fc7\u5c06\u9879\u76ee\u5206\u4e3a\u591a\u4e2a\u5c42\u6b21\uff0c\u4f8b\u5982\u8868\u793a\u5c42\u3001\u4e1a\u52a1\u903b\u8f91\u5c42\u548c\u6570\u636e\u8bbf\u95ee\u5c42\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u548c\u53ef\u6269\u5c55\u6027\u3002\u91c7\u7528\u8fd9\u79cd\u7406\u5ff5\u6709\u52a9\u4e8e\u56e2\u961f\u534f\u4f5c\uff0c\u7b80\u5316\u6d4b\u8bd5\u548c\u90e8\u7f72\u6d41\u7a0b\uff0c\u4f7f\u9879\u76ee\u66f4\u52a0\u6a21\u5757\u5316\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u642d\u5efaSSM\u6846\u67b6\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5\u548c\u914d\u7f6e\u5f00\u53d1\u73af\u5883\u3001\u521b\u5efaMaven\u9879\u76ee\u3001\u914d\u7f6eSpring\u3001\u914d\u7f6eSpring MVC\u3001 [&hellip;]","protected":false},"author":3,"featured_media":988742,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/988726"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=988726"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/988726\/revisions"}],"predecessor-version":[{"id":988744,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/988726\/revisions\/988744"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/988742"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=988726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=988726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=988726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}