使用idea工具,新建springboot项目 applicatin.properties简单配置一下 server.port=8089 项目内建vue模块, pom.xml <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <group...

数据库 droptableifexistsam_user; createtableam_user( idbigintnotnullauto_incrementprimarykeycomment'主键id', user_namevarchar(50)notnullcomment'用户名', pwdvarchar(50)notnullcomment'密码', is_deletedtinyintdefault0comment'是否删除,1删除,0正常' )comment'用户表'; insertintoam_uservalues(1,'admin','1234',0); droptab...

views index <template> <divclass="index-area"> <h1>学生成绩管理系统</h1> <p> 您好,<spanstyle="color:red;margin-right:7px;font-size:22px;">{{userName}}</span> <spanstyle="font-style:italic;font-weight:bold;">欢迎使用</span> </p> </div> </templa...

config constants.js //定义的常量 //配置的,请求接口的前部基础路径 exportconstBASE_URL=process.env.VUE_APP_BASE_URL //存用户的key名称 exportconstUSER_INFO_KEY='access-user' //存token的key名称 exportconstUSER_TOKEN_KEY='access-token' //存页签的key名称 exportconstUSER_TABS_KEY='access-tabs' //计算表格高度时减去的部分,即头部的高度 exportconstTOP_HEIGHT=2...

utils jwtUtils.java packagecom.shrimpking.util; importcom.alibaba.fastjson.JSON; importcom.auth0.jwt.JWT; importcom.auth0.jwt.JWTCreator; importcom.auth0.jwt.algorithms.Algorithm; importcom.auth0.jwt.exceptions.AlgorithmMismatchException; importcom.auth0.jwt.exceptions.InvalidClaimException; impo...

exception bizException.java packagecom.shrimpking.exception; importcom.shrimpking.enums.CodeEnum; importlombok.Data; / CreatedbyIntelliJIDEA. @Author:Shrimpking @create2023/11/421:58 自定义异常 / @Data publicclassBizExceptionextendsRuntimeException { / 状态码 / privateIntegercode; publicBizException(S...

新建springboot项目,练习shiro安全框架的使用。 导入依赖 <!-ini整合方式的依赖--> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <version>1.9.0</version> </dependency> <dependency> <groupId>commons-logging</groupId> &...

新建vue项目  main.js importVuefrom'vue' importAppfrom'./App.vue' importstorefrom"@/store"; Vue.config.productionTip=false; newVue({ render:h=>h(App), store }).$mount('app'); app.vue <template> <divid="app"> <h1>根组件 {{$store.state.title}} {{$store.state.count}} -{{title}}...

新建springboot项目,导入依赖 <!-ini整合方式的依赖--> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <version>1.9.0</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId&gt...

新建springboot项目,   导入依赖 <?xmlversion="1.0"encoding="UTF-8"?> <projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersio...

新建springboot项目  导入依赖 <?xmlversion="1.0"encoding="UTF-8"?> <projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion...

新建springboot项目,导入依赖 <?xmlversion="1.0"encoding="UTF-8"?> <projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0&...

新建springboot项目,导入依赖 <?xmlversion="1.0"encoding="UTF-8"?> <projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0&...

新建springboot项目,导入依赖 <?xmlversion="1.0"encoding="UTF-8"?> <projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0&...

new388.jsp <%@pagecontentType="text/html;charset=UTF-8"language="java"%><html><head><metacharset="utf-8"><metahttp-equiv="X-UA-Compatible"content="IE=edge"><metaname="viewport"content="width=device-width,initial-scale=1"><title>bootstrap+jsp的使用</title...

<!DOCTYPEhtml> <htmllang="en"> <head> <metacharset="UTF-8"> <title>javascript</title> </head> <body> <script> letteam=["tom","mike","jane"]; letpairs=[]; for(leti=0;i<team.length;i){ for(letj=0;j<team.length;j){ if(team[i]!team[j]){ pair...

  px8Y25gMnWbQ   2023年11月02日   100   0   0 HTML前端i++vue.jsJavaScript

<!DOCTYPEhtml> <htmllang="en"> <head> <metacharset="UTF-8"> <title>javascript</title> </head> <body> <script> letaNumbers=newArray(); letmessage="你输入了:\n"; lettotal=0; letuserInput; letindex=0; do{ userInput=prompt("输入一个数字,或者0退出","0"); aNumber...

  px8Y25gMnWbQ   2023年11月02日   85   0   0 HTMLvue.jsJavaScript

session.aspx <%@PageLanguage="C"AutoEventWireup="true"CodeBehind="Session.aspx.cs"Inherits="work006.Session"%> <!DOCTYPEhtml> <htmlxmlns="http://www.w3.org/1999/xhtml"> <headrunat="server"> <metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/> <title...

  px8Y25gMnWbQ   2023年11月02日   39   0   0

webform1.aspx <%@PageLanguage="C"AutoEventWireup="true"CodeBehind="WebForm1.aspx.cs"Inherits="work005.WebForm1"%> <!DOCTYPEhtml> <htmlxmlns="http://www.w3.org/1999/xhtml"> <headrunat="server"> <metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/> <ti...

  px8Y25gMnWbQ   2023年11月02日   25   0   0

defalut.aspx.cs usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Web; usingSystem.Web.UI; usingSystem.Web.UI.WebControls; publicpartialclass_Default:System.Web.UI.Page { protectedvoidPage_Load(objectsender,EventArgse) { } / 应用程序文件夹含义: 在网站的根目录建立某些文件夹,是asp.net的特殊操作。 ...

  px8Y25gMnWbQ   2023年11月02日   33   0   0
关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~