摘要:
1、检查yum上的nginx版本 yum info nginx 2、安装nginx yum install nginx 安装过程有时会询问是否安装,输入y回车即可 3、将服务设置为每次开机启动 sudo systemctl enable nginx 4、启动nginx服务 sudo systemct 阅读全文
摘要:
Asynchronous Device Events 异步设备事件 CAP_DEVICEEVENT MSG_SET选择应用程序希望Twain源报告的事件; MSG_RESET返回Twain源的首选设置。 Audible Alarms 报警声音 CAP_ALARMS 打开和关闭特定的报警声音。 CAP 阅读全文
摘要:
delete from TableName; //清空数据 update sqlite_sequence SET seq = 0 where name ='TableName';//自增长ID为0转自:https://www.cnblogs.com/huangtailang/p/3246336.ht 阅读全文
摘要:
select FLOOR(DATEDIFF(DY, substring(身份证字段,7,4), GETDATE()) / 365.25) age from [表名] 阅读全文
摘要:
一、jdk安装 1、下载jdk安装文件 2、在"系统变量”下”新建“选项"JAVA_HOME"值为:"jdk"文件夹路径 3、在"系统变量"中找到"Path"增加%Java_Home%\bin;%Java_Home%\jre\bin; 4、在"系统变量"栏,"新建","变量名"为"CLASSPATH 阅读全文
摘要:
1、查询当前使用的数据库 select database(); 2、获取当前数据库表 select * from information_schema.TABLES where TABLE_SCHEMA=(select database()) 第二种方法,不能使用union all 等方式。 sho 阅读全文
摘要:
1、找个安装镜像文件 2、必须以管理员身份运行cmd 3、在CMD里输入“G:\vs_professional.exe /uninstall /force" 4、企业版就把professional改为enterprise 阅读全文
摘要:
1:修改pom.xml 将“jar”改为“war” <packaging>war</packaging> 将: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</ 阅读全文
摘要:
一:使用@CrossOrigin注解 @CrossOrigin @RequestMapping(value = "/get") public HashMap<String, Object> get(@RequestParam String name) { HashMap<String, Object 阅读全文
摘要:
import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springfra 阅读全文