上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 39 下一页
摘要: 安装axios npm install axios 代理方式 项目根目录下创建vue.config.js module.exports = { devServer: { proxy: 'http://localhost:9000' } } 测试代码 <template> <div id="app"> 阅读全文
posted @ 2021-06-14 12:03 HumorChen99 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 依赖 <!-- validation--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-validation</artifactId> </dependency> < 阅读全文
posted @ 2021-06-12 18:10 HumorChen99 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 解决办法 @SpringBootApplication @MapperScan("com.humorchen.pastry_examination.mapper") public class PastryExaminationApplication implements WebMvcConfigur 阅读全文
posted @ 2021-06-12 12:24 HumorChen99 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 使用示范 get import { ProxyHttpUtil } from '../../utils/ProxyHttpUtil'; let ret = await ProxyHttpUtil.get('https://xxxx.com/api/v2/summary.json') console. 阅读全文
posted @ 2021-06-08 15:46 HumorChen99 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 常见写法 package classes; public class ClassDemo8 { public static void main(String[] args) { System.out.println("基本写法"); } } 普通类 package classes; /** * 普通 阅读全文
posted @ 2021-06-06 16:38 HumorChen99 阅读(22) 评论(0) 推荐(0) 编辑
摘要: Git笔记 git本地仓库、远程仓库 本地仓库:修改后用git add file 将文件推到index暂存区,再使用git commit -m ‘message’,将修改推送到本地仓库 远程仓库:将本地仓库的修改推到远程仓库去 git 初始化 #在项目文件夹下E:\javaEE\GitDemo,项目 阅读全文
posted @ 2021-06-06 15:43 HumorChen99 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 安装crypto-js # yarn的安装 yarn add crypto-js # npm 的安装 npm install crypto-js 引入crypto-js let CryptoJS = require("crypto-js") HmacSHA256加密算法用密钥对字符串加密并使用Bas 阅读全文
posted @ 2021-06-04 09:27 HumorChen99 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 题目 public class Test { public static void main(String[] argss) { String str1 = new StringBuilder("58").append("tongcheng").toString(); System.out.prin 阅读全文
posted @ 2021-06-03 09:36 HumorChen99 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 题目 现在有两个变量 a=10 b=20,请把两个数交换,且不使用第三个变量 加减法 a = a+b //a = 30 b = a-b //b=30-20=10 a = a-b //a=30-10=20 异或法 异或的基本知识: a ^ b ^ b = a 一个数异或两次另一个数还是等于自己本身 a 阅读全文
posted @ 2021-05-22 23:08 HumorChen99 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 原码 反码 补码基本知识 正整数:原码、反码、补码均是原码本身负整数:反码 = 原码按位取反(符号位除外) 补码 = 反码+1 例如 byte 1 原码:0000 0001 反码:0000 0001 补码:0000 0001 byte -3 原码:1000 0011 反码:1111 1100 (原码 阅读全文
posted @ 2021-05-22 21:40 HumorChen99 阅读(17) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 39 下一页