上一页 1 2 3 4 5 6 ··· 39 下一页
摘要: 错误原因: Controller只能接收一次 MultipartFile的文件, 如果再将接收的 MultipartFile文件 传递给 其他的service , 那么其他的 service 则获取不到这个 MultipartFile 文件 。 因为第一次接收会将MultipartFile文件放在一 阅读全文
posted @ 2022-03-07 00:00 武卡卡 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 1,首先在 pom.xml 中加入maven依赖 <!-- 阿里云oss --> <dependency> <groupId>com.aliyun.oss</groupId> <artifactId>aliyun-sdk-oss</artifactId> <version>3.10.2</versi 阅读全文
posted @ 2022-03-06 12:18 武卡卡 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 因为字符串模板不能被vue所渲染,所以这种方式行不通。 可采用组件的方式 父组件 <template> <div id="app"> <My v-for="(v,index) in commentList" :key="index" :commentId="v"/> </div> </templat 阅读全文
posted @ 2021-11-29 13:40 武卡卡 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 将 reasonable 设置为 false 。 阅读全文
posted @ 2021-11-29 00:09 武卡卡 阅读(103) 评论(0) 推荐(0) 编辑
摘要: '/api': { target: 'http://localhost:8088/', //这里后台的地址模拟的;应该填写你们真实的后台接口 changOrigin: true, //允许跨域 pathRewrite: { /* 重写路径,当我们在浏览器中看到请求的地址为:http://localh 阅读全文
posted @ 2021-11-15 22:02 武卡卡 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 需要通过 require包裹 <template> <div> {{user.username}}: <img :src="user.avatar" class="avatar"> </div> </template> <script> export default { name: 'Persona 阅读全文
posted @ 2021-11-14 13:20 武卡卡 阅读(141) 评论(0) 推荐(0) 编辑
摘要: File -> Invalidate Caches -> Invalidate and Restart 阅读全文
posted @ 2021-11-13 15:03 武卡卡 阅读(1046) 评论(0) 推荐(1) 编辑
摘要: package com.example.demo.config; import com.example.demo.Service.UserDetailsServiceImpl; import com.example.demo.filter.JwtAuthencationTokenFilter; im 阅读全文
posted @ 2021-11-12 20:59 武卡卡 阅读(207) 评论(0) 推荐(0) 编辑
摘要: idea遇到这样的问题:如下图 解决办法 步骤1:通过端口号找到pid打开dos命令行,输入netstat -ano | find "9009"得到下列内容,看到最后一行就是pid 步骤2:通过pid找到进程输入:tasklist | find “11116” 如下图 步骤3:关闭进程输入命令关闭进 阅读全文
posted @ 2021-11-09 22:21 武卡卡 阅读(1516) 评论(0) 推荐(0) 编辑
摘要: mapper层 @Insert("insert into t_user (username,password,valid,create_time) values (#{username},#{password},#{valid},#{createTime})") @Options(useGenera 阅读全文
posted @ 2021-11-01 14:24 武卡卡 阅读(391) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 39 下一页