上一页 1 2 3 4 5 6 7 8 ··· 22 下一页
摘要: Mysql中存储引擎InnoDB,MyISAM,MEMORY比较 show ENGINES-- 查看数据库支持的搜索引擎ENGINE=InnoDB--使用的 InnoDB 引擎 CREATE TABLE `user1` ( `id` bigint(20) NOT NULL DEFAULT '0', 阅读全文
posted @ 2024-01-31 16:55 爱豆技术部 阅读(49) 评论(0) 推荐(0)
摘要: Mysql中对数据库进行用户管理 -- 创建用户,密码 可以在任意主机访问CREATE user 'herma' @'%' IDENTIFIED by '123456' -- 修改用户密码ALTER user 'herma'@'%' IDENTIFIED with mysql_native_pass 阅读全文
posted @ 2024-01-31 15:36 爱豆技术部 阅读(43) 评论(0) 推荐(0)
摘要: 存储过程的创建使用 ​-- 复制 world.`user`所在库的表,复制名为 user1CREATE TABLE user1 as SELECT * from world.`user`DELETE from user1​-- 存储过程delimiter $CREATE PROCEDURE sele 阅读全文
posted @ 2024-01-30 17:47 爱豆技术部 阅读(49) 评论(0) 推荐(0)
摘要: 1STL5S9V8F-eyJsaWNlbnNlSWQiOiIxU1RMNVM5VjhGIiwibGljZW5zZWVOYW1lIjoi5rC45LmF5r+A5rS7IHd3d8K3YWppaHVvwrdjb20iLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWl 阅读全文
posted @ 2024-01-26 15:24 爱豆技术部 阅读(35352) 评论(1) 推荐(0)
摘要: 验证码服务返回token // 传入手机号 xxxx ,返回验证码 xxx​// 并且将验证码存入 redis​// 根据用户传入的验证码 ,返回前端token​//传入手机号passengerPhonepublic ResponseResult generatorCode(String passe 阅读全文
posted @ 2023-12-15 10:55 爱豆技术部 阅读(134) 评论(0) 推荐(0)
摘要: 生成使用token 引入pom <dependency> <groupId>com.auth0</groupId> <artifactId>java-jwt</artifactId> <version>3.14.0</version> </dependency> 添加工具类 package com. 阅读全文
posted @ 2023-12-07 22:07 爱豆技术部 阅读(138) 评论(0) 推荐(0)
摘要: 获取验证码 /** * 获取size位数的随机验证码 * * 0.12345;当要4位数的验证码,*10 的3次方 Math.pow(10,size-1) * Math.random()*9+1 防止永远 0 开始 */ double random = (Math.random()*9+1)*(Ma 阅读全文
posted @ 2023-11-28 15:45 爱豆技术部 阅读(63) 评论(0) 推荐(0)
摘要: nvm安装(node包管理工具) 一、nvm是什么? nvm是一个node的版本管理工具,可以简单操作node版本的切换、安装、查看等,与npm不同的是,npm是依赖包的管理工具。 二、nvm的安装 1.下载地址 https://github.com/coreybutler/nvm-windows/ 阅读全文
posted @ 2023-06-21 17:43 爱豆技术部 阅读(424) 评论(0) 推荐(0)
摘要: 字符串的分数,转成分子分母相除的小数 String attribute3 = "1/4";if (attribute3 != null && attribute3.length() > 0) { int index = attribute3.indexOf('/'); double x1 = Dou 阅读全文
posted @ 2023-06-21 14:55 爱豆技术部 阅读(48) 评论(0) 推荐(0)
摘要: css+html案例 <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" co 阅读全文
posted @ 2023-06-18 18:25 爱豆技术部 阅读(59) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 22 下一页